# coding=gbk
# 6-1字典练习：字典存储人的信息
sikan_information = {'frist_name':'chen',
    'slast_name':'sikan',
    'age':21,
    'city':'guangzhou'
        }
print(sikan_information)
print("\n")
# 6-2字典练习：字典存储数字并打印出来
cute_number = {'python':1,
    'java':2,
    'c':3,
    'html':4,
    'php':5
    }

print("python's favorite number is "+str(cute_number['python']))
print("java's favorite number is "+str(cute_number['java']))
print("c's favorite number is "+str(cute_number['c']))
print("html's favorite number is "+str(cute_number['html']))
print("php's favorite number is "+str(cute_number['php']))
print("\n")
# 6-3字典练习：词汇表
编程词汇 = {'字符串':'由数字、字母、下划线组成的一串字符',
    '列表':'由一系列特定顺序排列的元素组成',
    '元组':'不可修改的列表',
    '字典':'一系列键_值对',
    '编程基本结构':'语句、方法、函数、关键字',
        }
print(编程词汇)

35c9246969a1d4586fbe91f096f12a5767fb2d62
<mask token>

<mask token>
print(sikan_information)
print('\n')
<mask token>
print("python's favorite number is " + str(cute_number['python']))
print("java's favorite number is " + str(cute_number['java']))
print("c's favorite number is " + str(cute_number['c']))
print("html's favorite number is " + str(cute_number['html']))
print("php's favorite number is " + str(cute_number['php']))
print('\n')
<mask token>
print(编程词汇)

sikan_information = {'frist_name': 'chen', 'slast_name': 'sikan', 'age': 21,
    'city': 'guangzhou'}
print(sikan_information)
print('\n')
cute_number = {'python': 1, 'java': 2, 'c': 3, 'html': 4, 'php': 5}
print("python's favorite number is " + str(cute_number['python']))
print("java's favorite number is " + str(cute_number['java']))
print("c's favorite number is " + str(cute_number['c']))
print("html's favorite number is " + str(cute_number['html']))
print("php's favorite number is " + str(cute_number['php']))
print('\n')
编程词汇 = {'字符串': '由数字、字母、下划线组成的一串字符', '列表': '由一系列特定顺序排列的元素组成', '元组':
    '不可修改的列表', '字典': '一系列键_值对', '编程基本结构': '语句、方法、函数、关键字'}
print(编程词汇)

# coding=gbk
# 6-1字典练习：字典存储人的信息
sikan_information = {'frist_name':'chen',
    'slast_name':'sikan',
    'age':21,
    'city':'guangzhou'
        }
print(sikan_information)
print("\n")
# 6-2字典练习：字典存储数字并打印出来
cute_number = {'python':1,
    'java':2,
    'c':3,
    'html':4,
    'php':5
    }

print("python's favorite number is "+str(cute_number['python']))
print("java's favorite number is "+str(cute_number['java']))
print("c's favorite number is "+str(cute_number['c']))
print("html's favorite number is "+str(cute_number['html']))
print("php's favorite number is "+str(cute_number['php']))
print("\n")
# 6-3字典练习：词汇表
编程词汇 = {'字符串':'由数字、字母、下划线组成的一串字符',
    '列表':'由一系列特定顺序排列的元素组成',
    '元组':'不可修改的列表',
    '字典':'一系列键_值对',
    '编程基本结构':'语句、方法、函数、关键字',
        }
print(编程词汇)
