Hello guys, i have a noob question. Could you help me please ?
I would like to do when i press + key, my values should change respectively ? Thanks.
1. press a
2. press b
3. press c
I would like to do when i press + key, my values should change respectively ? Thanks.
1. press a
2. press b
3. press c
a = {"1":"a", "2":"b", "3":"c"} while True: x = input("Press +") for i in a.values(): if x == "+": print (i)