+ 1
Why this doesn't work?
So I'm very new to python, I tried to make a basic calculator but there is something wrong with the input I think. I'm on mobile and it's hard to see it like this https://code.sololearn.com/c2N86vTX0x3T/?ref=app
5 Respostas
+ 2
Line 3: You dont see something of strange on how you call print ? 😉
+ 2
On line 3 you put an assignment operator (=) also delete the duplicate post
0
hi Juhász Ákos you can put a string in to input() function then remove the print() function
example
a = int(input("enter a number")
so you can remove the print() function
but the error is on line 3 you need to remove the = assignment operator then your code will be fine
here is the correct code
https://code.sololearn.com/cP8lEeO1qPac/?ref=app
0
thank you guys for your help
0
duplicate happened because of slow internet connection I think