0
Print vs Strings
How is the print function different than strings. Also why doesn’t print use the >>> before it?
2 Respuestas
+ 1
print is a function that offers a simple way to draw text on screen.
String is an object, that can be treated as a sequence of characters.
String is the most human readable form of data, string is actually an object that represents text.
You should not use >>> in the playground.
>>> represents a line in a console, which is a programming tool that allows you to run Python statements, rather for testing purposes, without need to save the code.
0
Print is the printing machine and string is character/s in the paper that you are printing