+ 1

How option work in python

Hi 😊 i am working on a small calculator code but i am having problem of 'input' or 'option' can you solve it i will very happy and thankful for it Here is the code 👇👇👇👇👇👇👇👇👇👇👇:- https://code.sololearn.com/cHgFJVz16nMu/?ref=app

16th Dec 2020, 2:38 AM
Smart Video Technical
Smart Video Technical - avatar
2 Respostas
+ 2
Smart Video Technical You can't take input at run time in Sololearn. You have to take input together with new line like add subtract multiplication division Or to take input in loop, your loop will be of fixed size.
16th Dec 2020, 3:16 AM
A͢J
A͢J - avatar
+ 1
Check the indentation of your code. Just the first input call is inside the loop's body, the remaining if statements are not indented.
16th Dec 2020, 3:06 AM
Erick Ruh Cardozo
Erick Ruh Cardozo - avatar