Untitled
unknown
plain_text
a year ago
320 B
8
Indexable
info={} mas="" while mas!="q": ans=input("enter the key: ") if ans.lower()=="age" or ans=="level": info[ans]=int(input("enter the value as number : ")) else: info[ans]=input("enter the value: ") mas=input("if you want exit enter 'q' or pass enter to continue : ") print(info)
Editor is loading...
Leave a Comment