Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.84K
Ranked #4K
~104 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for macca21

try this: [CODE]def modPrice(): global catalog print "modifyPrice" try: itemID = int(raw_input("Which item? ")) if itemID in catalog.keys(): price = float(raw_input("How many? ")) if 0 < price: catalog[itemID][1] = price print "Price has been changed" else: print "Price needs to be greater than 0" else: print "Invalid itemID" except: print …

Member Avatar for Lizzard013
0
104

The End.