+ 2
Which is correct??
(1) >>>print('blablabla') (2) >>>('blablabla') (3) print('blablabla')
12 Answers
+ 3
(3).
You never need to add >>>. Whether in console or in IDE.
+ 7
3rd one
+ 3
Lol 😂😂
+ 2
print("text")
is correct way...
In python console, it it will ask you enter by displaying >>> itself there.. Like command prompt.. So there without print function, just enter "hello" will display output.
But in IDE, in playground.. You need to write print( "text")
So there >>> mentioned for understanding purpose only..
Never you need to put that anywhere.
+ 2
In command prompt or IDE we have to use 1st and in text editor like jupyter we have to use 3rd
+ 1
Yeah 😂
+ 1
Ritish 😂 😂
0
Jayakrishna🇮🇳 i dont understand, please explain.
I am a beginner
0
Jayakrishna🇮🇳 😂 😂 i get it, thanks man.
0
Ritish 😂 😂
>>>print('yeah what')
0
KING∆OP™ please explain
0
By the way, a string is a sequence of characters. In Python, strings are enclosed inside single quotes, double quotes, or triple quotes.