+ 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
2 Antworten
+ 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.
+ 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.