+ 1

Is it important to write>>> before print command???

3rd Dec 2017, 7:15 AM
Aakash Kumar
Aakash Kumar - avatar
4 Answers
+ 5
No. >>> is the command prompt in the Python interpreter. It is not something the programmer writes.
3rd Dec 2017, 7:25 AM
Eric Blinkidu
Eric Blinkidu - avatar
+ 3
@kumar if you show us your code we can help. code: print('Hello World')
3rd Dec 2017, 7:46 AM
Da Riebi
Da Riebi - avatar
+ 2
A good joke :) You do not write ">>>" anyway. This is a prompt from Python interpreter and says "write here your command"
3rd Dec 2017, 7:38 AM
Petr Hatina
Petr Hatina - avatar
0
sir, I typed 'Hello world' as a string but no output??why??
3rd Dec 2017, 7:26 AM
Aakash Kumar
Aakash Kumar - avatar