Can we access the value of a variable from any part of the program in python?

后端 未结 0 1236
醉梦人生
醉梦人生 2021-01-02 15:36

Is it possible to get the value of name from anywhere in the program?

For ex:

reply = f\'Nice shades, {name}\'
print(reply)

name = input("Enter y         


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