Is that output in 2nd example,right? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is that output in 2nd example,right?

I guess the sysntax should be like: >>> foo = INT ( input ("enter a number:")

6th Feb 2017, 9:05 PM
Anil kumar Samal
Anil kumar Samal - avatar
2 Answers
+ 1
Justin syntax errors are sometimes manageable.but got my intention right??
8th Feb 2017, 7:32 PM
Anil kumar Samal
Anil kumar Samal - avatar
0
int small letters and you forgot a ) on the end. 2 open (( need 2 close )) foo = int ( input ("enter a number:")) print(foo)
6th Feb 2017, 11:35 PM
LordHill
LordHill - avatar