diff --git a/fk.py b/fk.py index c54b463..3830f76 100644 --- a/fk.py +++ b/fk.py @@ -1,5 +1,5 @@ -dict_hero={'猴队长':29,'猴七':30,'猴五':22,'猴三':10,'猴一':21} -print(dict_hero) -print(dict_hero['猴队长']) -dict_hero['猴七']=32 -print(dict_hero) \ No newline at end of file +dic={'猴队长':29,'猴七':30,'猴五':22,'猴三':10,'猴一':21} +print(dic) +print(dic['猴队长']) +dic['猴七']=32 +print(dic) \ No newline at end of file diff --git a/text.py b/text.py new file mode 100644 index 0000000..1dbe2c7 --- /dev/null +++ b/text.py @@ -0,0 +1,2 @@ +dic={'zha':12} +print(dic['zha']) \ No newline at end of file