+ 2

Basic Python Calculator

I have another errorâ˜č num1 = float(input('Enter a number:")) It says I have an EOFError...how to fix that?😂

31st Aug 2019, 8:15 PM
Andrew Johnson
Andrew Johnson - avatar
3 RĂ©ponses
+ 1
You have two 'equals sign in it.
31st Aug 2019, 8:30 PM
rodwynnejones
rodwynnejones - avatar
+ 2
== is an equality operator and checks to see if the two things are the same = is an assignment operator used to assign variables to values
31st Aug 2019, 8:35 PM
Brave Tea
Brave Tea - avatar
0
oh now i feel stupid thanks guys
31st Aug 2019, 9:32 PM
Andrew Johnson
Andrew Johnson - avatar