My while validation loop is not accepting valid answer and breaking, automatically moving to else statement

后端 未结 0 353
猫巷女王i
猫巷女王i 2021-01-18 22:27
    # this is a simple calculator
import sys


def calculation():
    print(\'what is the first number?\')
    x = int(input())
    print(\'what is the second number         


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