Print over Literals | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Print over Literals

Why is it necessary to use the print() function over just using a literal? Im new to all this lol

26th Jul 2017, 1:36 PM
Kyler York
1 Answer
0
A literal is just a value - it gets evaluated, but it does NOT get displayed. This might help: https://code.sololearn.com/cuoK5kxA1f43/?ref=app
26th Jul 2017, 3:18 PM
Bogdan Sass
Bogdan Sass - avatar