0

What is the difference between string and print() command?

21st Sep 2016, 5:39 PM
Binal Sathyadasan
Binal Sathyadasan - avatar
4 Respostas
+ 1
print() is a command and string is a variable. Just google what is variable and what is command.
21st Sep 2016, 7:12 PM
shrijit
shrijit - avatar
+ 1
sun print() is a command to display output and in string just like other variables we store value any English or any word or a character
22nd Sep 2016, 1:20 PM
Kartik
0
String is a type, and Print () is a command
22nd Sep 2016, 1:48 PM
Fernando Carvalho
Fernando Carvalho - avatar
- 1
String is a type in python as in many programming languages. Though there is a "str()" function which is used for type conversion. But "print()" is a function command used to display output on the screen.
23rd Sep 2016, 7:28 AM
Ajay Singh Parmar
Ajay Singh Parmar - avatar