>>> 2 + 2 .... I wrote this but invalid text is coming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

>>> 2 + 2 .... I wrote this but invalid text is coming

what is wrong please help

5th Jul 2019, 1:47 AM
Rs Danu
Rs Danu - avatar
2 Answers
+ 6
The ">>>" is meant to simulate the Python Console, where you can execute small pieces of code. In actual code you do nor include them.
5th Jul 2019, 2:47 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
Delete ">>>" and "..."if you typed them It's just 2+2
5th Jul 2019, 2:18 AM
Lord Krishna
Lord Krishna - avatar