python_P4

1. dict represents a dictionary

  use dict.get('e',0) instead of dict['e'] to get the value of 'e' if you are not sure that 'e' is included in dict

 

posted @ 2015-05-19 10:18  Rayvin  阅读(321)  评论(0编辑  收藏  举报