0
What's the difference between print and string then
if print and string gives the same results what's the difference in the useage
2 Answers
+ 2
str is only output automatically when you run Python in interactive mode.
If you just write strings in a code and run that, you will see nothing. You have to actually create the output by using print.
+ 1
Print is a function that prints out a string to the console.
Print is a function while String is a series of character.