0

When i typed >>>print('asd') , it came as a error. And when i just typed print('asd') the result came. Why??

13th Jan 2018, 9:46 AM
Kailas Devdas
Kailas Devdas - avatar
3 Réponses
+ 2
the syntax is not correct
13th Jan 2018, 10:04 AM
SunizPro
0
then why in the sample >>> it was used
13th Jan 2018, 10:08 AM
Kailas Devdas
Kailas Devdas - avatar
0
The >>> symbols are just used to represent the console. The python console prints those everytime it is prepared to take in new commands. In a program you never use those
13th Jan 2018, 1:25 PM
spcan
spcan - avatar