+ 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

16th Oct 2018, 1:16 PM
Juhåsz Ákos
Juhåsz Ákos - avatar
5 Answers
+ 2
Line 3: You dont see something of strange on how you call print ? 😉
16th Oct 2018, 1:28 PM
KrOW
KrOW - avatar
+ 2
On line 3 you put an assignment operator (=) also delete the duplicate post
16th Oct 2018, 1:28 PM
TurtleShell
TurtleShell - avatar
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
16th Oct 2018, 1:51 PM
estifanos
estifanos - avatar
0
thank you guys for your help
16th Oct 2018, 2:17 PM
Juhåsz Ákos
Juhåsz Ákos - avatar
0
duplicate happened because of slow internet connection I think
16th Oct 2018, 2:17 PM
Juhåsz Ákos
Juhåsz Ákos - avatar