Type in just >>> 1+3 and it gives and error. Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Type in just >>> 1+3 and it gives and error. Why?

19th Apr 2020, 2:01 PM
shine gaming
shine gaming - avatar
5 Answers
+ 2
shine gaming Why did you share others code. You should share your own code if you are getting problem. To get output you should use print function. print(1 + 3)
19th Apr 2020, 2:34 PM
A͢J
A͢J - avatar
+ 1
Remove >>> it's not a syntax in Python
19th Apr 2020, 2:04 PM
A͢J
A͢J - avatar
0
It says "No answer" when i do https://code.sololearn.com/cOAXyhEmN1f7/#py
19th Apr 2020, 2:15 PM
shine gaming
shine gaming - avatar
0
https://code.sololearn.com/cm2Mp2WMdc5W/?ref=app
19th Apr 2020, 2:20 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
OHH ok thanks
19th Apr 2020, 2:24 PM
shine gaming
shine gaming - avatar