python dictionary(字典)
来源:互联网 发布:网络性能参数指标 编辑:程序博客网 时间:2024/05/29 08:05
#!/usr/bin/env python# -*- coding: utf-8 -*-__author__ = 'Administrator'#key-valueinfo={ 'stu1101':"wangchuanlu", 'stu1102':"wenyuhao", 'stu1103':"chentianhao",}print(info)#print(info["stu1101"])info["stu1103"]="jiangpengfei"#info["stu1104"]="zhukongming"#del info["stu1104"]#info.pop("stu1104")#info.popitem()print(info)#print(info.get("stu1104"))#print("stu1103" in info)
阅读全文
0 0
- Python字典(Dictionary)
- python dictionary(字典)
- Python中的字典(Dictionary)
- python学习(1)-字典 (Dictionary)
- Python 字典(dictionary)的排序
- Python dictionary 字典
- python Dictionary字典使用
- Python字典 (dictionary)
- Python 字典(Dictionary)
- Python 字典(Dictionary)
- Python字典 (dictionary)
- Python 字典(Dictionary)
- Python字典dictionary
- Python菜鸟--字典(Dictionary)
- 1006- Python 字典(Dictionary)
- Python 字典(Dictionary)
- Python字典 (dictionary)
- Python 字典(Dictionary)数据处理
- linux源码包与RPM包的区别
- Python实现一些简单的算法(5)—九宫格问题
- HDU 2087-剪花布条
- 34.开源项目--git添加新的远程版本库
- 什么是阿里云轻量应用服务器?它有什么优点?值得购买吗?
- python dictionary(字典)
- git对中文的支持
- 编程语言笔记(目录)
- wampserver环境下配置phpmyadmin远程访问mysql数据库
- Oracle管理表
- 为什么说 IPFS 将会替代 HTTP
- nodejs在windows下的安装配置(使用NVM的方式)
- 【Java File类】创建文件目录并在指定路径创建文件
- Win10子系统Bash安装 Ubuntu安装Katoolin 实现自动安装kali工具