+ 1
Explain print statement in detail.
2 Answers
+ 5
By print statement you can print any string or any number in python.
For example:- in python 3
it looks like this almost if sting you have to use
"..." double quotes or
'..'single quotes // no difference
>>> print ('Hello Python...') // which gives you
>>> 'Hello Python'
// but in any number don't use quotes as they are not strings :
>>> print (24) // which gives you
>>> 24
0
run that code
https://code.sololearn.com/czASEpK7m9sf/?ref=app