No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]# phonebook dictionary phonebook={'francis':'francis@gmail.com','iris': 'iris@gmail.com','karen':'karen@gmail.com'} name=raw_input('what name you want to check :') # check if the name is in the dictionary if name in phonebook.items() : name=key print phonebook.get(key) # if yes, print the email else: print 'not here' # check the correctness of the program # I could not … | |
I have installed the latest Ubuntu for notebook on my Acer Aspire 4715Z Pentium Dual-Core for last several months- working very smoothly & enjoying the "new world." I thought I never need to go back to Windows(rarely) - but yesterday as I updated the Update Manager and restarted it as … |