0

I cant understand the difference between "string" and "print", because from both of these we can use text......!

17th Apr 2019, 3:47 AM
Ram Mohan Rao
Ram Mohan Rao - avatar
3 Antworten
+ 1
The print() function let's you see the output in the console, string (either the data type or the function) doesn't.
17th Apr 2019, 4:02 AM
Diego
Diego - avatar
+ 1
Maybe you can explain more about your problem?
17th Apr 2019, 4:03 AM
Fandi Presly Simamora
Fandi Presly Simamora - avatar
+ 1
String is a data type (it may be considered an array of chars/words) that is primarily used for storing the data in a variable while print() is a function (method) which outputs the data to the console.
17th Apr 2019, 11:40 AM
{ 𝄋 ℒ 𝄋 }
{ 𝄋 ℒ 𝄋 } - avatar