+ 2
Why can not I use 2 "input" in a code? Â
I tried to create a calculator and it did not work because of an error just in the line where I used a second "input" Â
7 Answers
+ 3
When you enter data to programs within the playground, you must enter everything it requires. Before your code starts running, the prompt appears, after you dismiss it. The data is sent to a server where your program is run. Once your program finishes or is stopped due to too much usage of CPU, the output is displayed.
+ 4
Move your float calls to the other side.
n1 = float(input())
+ 2
Probably due to a coding error, but without your code being linked here we can only guess.
+ 1
Oh thank you very much :)
I'm very new in all this (I've only been around for 2 days) I hope I did not bother you with my rookie nonsense
postscript: I just did it right when he answered a second time
+ 1
you need to enter your input in separate lines with enter key in between
code doesn't have any issues
0
I'm so sorry, here's the code: https://code.sololearn.com/c596L3217Tr7/?ref=app
0
Yes, I have already corrected
Â