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.
1 Posted Topic
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 …
The End.
Lizzard013