0

Print vs Strings

How is the print function different than strings. Also why doesn’t print use the >>> before it?

28th Oct 2019, 6:02 PM
Muhammad WIngate
Muhammad WIngate - avatar
4 Réponses
+ 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.
28th Oct 2019, 7:44 PM
Seb TheS
Seb TheS - avatar
0
Print is the printing machine and string is character/s in the paper that you are printing
29th Oct 2019, 11:50 PM
spyrax10
spyrax10 - avatar