+ 1

In python what's the diffrent between string and print?

11th Feb 2019, 3:40 PM
arsham
2 ответов
+ 5
String is a type, print is a function.
11th Feb 2019, 4:07 PM
Hubert Dudek
Hubert Dudek - avatar
+ 3
str is the datatype for text. And print is the tool that you use to show that text on the screen.
11th Feb 2019, 4:00 PM
HonFu
HonFu - avatar