为什么我的Python脚本无法执行?
#password.pypwd=input('whatisthepassword?')ifpwd=='123456':print('loggingon.....')els...
#password.py
pwd=input('what is the password?')
if pwd=='123456':
print('logging on.....')
else:
print('incorrect password.')
print('all done!')
我哪里错了? 展开
pwd=input('what is the password?')
if pwd=='123456':
print('logging on.....')
else:
print('incorrect password.')
print('all done!')
我哪里错了? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询