I am trying to make a simple password program in python at pycharm, when I give if statement it gives a error

前端 未结 0 1628
轮回少年
轮回少年 2020-11-29 19:52
print("invalid password")
print("Hello, please enter the password to continue")
var = input(\'Enter password:\')
if var != ("password")         


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