hausaufgabe--python 24,25-Dict

 

 

000--to creat a dict and access the value of a key

 

001

 

 

 

Standar:

 

 

002

 

 

 

Running Result:

 

 

Defect: The dict1 will be clear when the program exist 

 

Referred:

Knowledge of Dict:

http://www.centoscn.com/python/2014/0318/2598.html

 

http://blog.csdn.net/g863402758/article/details/53304480

import sys

sys.exit(0) 

 

import os

os.exit(0)

 

Standar answer:

 

posted @ 2017-07-02 22:14  ReedyLi  阅读(140)  评论(0编辑  收藏  举报