How do I change a value of a variable using a dictionary?

前端 未结 0 1493
清歌不尽
清歌不尽 2021-01-26 14:08

I have a dictionary that I want to be able to change the value of a variable.

i=0
x=0
    
print("Enter a number between 1 and 10")

dic = {"1"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题