0

problem in simple calculator

https://code.sololearn.com/cfVjaHc9PBgD/# Can someone suggest me how to correct the code. Any suggestion will be appreciated

22nd Jul 2019, 1:59 PM
Mahtab Noor
Mahtab Noor - avatar
1 Odpowiedź
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])
22nd Jul 2019, 2:34 PM
ΛM!N
ΛM!N - avatar