What's the difference between ' " ' and ' print ' ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the difference between ' " ' and ' print ' ?

12th Jul 2016, 7:03 AM
simon chen
simon chen - avatar
3 Answers
+ 1
Quotation mark alone will not mean anything when programming, you may use it for assigning variables e.g. s = ' something ' , print function is often used to display a visual output to the user.
12th Jul 2016, 8:32 AM
disho
disho - avatar
0
You can define strings with "". print on the other hand is just a function that writes to STDOUT (standard output stream)
15th Jul 2016, 12:38 PM
Tuukka Yildirim
Tuukka Yildirim - avatar
- 1
none
12th Jul 2016, 8:23 PM
Daysi Manelly
Daysi Manelly - avatar