0
problem in simple calculator
https://code.sololearn.com/cfVjaHc9PBgD/# Can someone suggest me how to correct the code. Any suggestion will be appreciated
1 Antwort
0
Your code doesn't have any problem.
But you can use only one input in sololearn.
You can get all things you want with one output in this code:
example input: divide 4 2
code:
user_input=input()
input_list=user_input.split()
operation=input_list[0]
num1=int(input_list[1])
num1=int(input_list[1])