wondering why my Boolean variable didn't work in the code?

前端 未结 0 348
眼角桃花
眼角桃花 2020-12-21 06:37
f = open(\'num.txt\',\'r\')
temf = open(\'temp.txt\',\'w\')
n = f.readline()
num = input(\'please enter a number \')
found = False
while n != \'\':
    if n != num:
         


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