How can i/can i type this code in only one line?

前端 未结 0 501
栀梦
栀梦 2020-11-28 03:04

I made a really simple calculator with this code:

while True:
    calc_input = input("enter calculation")
    print(f"{calc_input} = {eval(calc         


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