Is it possible to not have to replicate code for each iteration of the function

后端 未结 0 1796
后悔当初
后悔当初 2021-02-20 05:03
def math():
    x = str(\'y\')
    
    while x == \'y\':
        a = float(input("Please enter a number: "))
        a = (((4*a)+1)/(a-3))
        b = float(i         


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