Why I have to assign value to a variable to be able to print it out? Why couldn't I print it out directly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why I have to assign value to a variable to be able to print it out? Why couldn't I print it out directly?

Why I have to assign value to a variable to be able to print it out? Why couldn't I print it out directly?

18th Sep 2017, 8:50 AM
Nourhan Hassan
Nourhan Hassan - avatar
1 Answer
+ 1
You can print the value out directly, if that's what you mean. If not give an example.
18th Sep 2017, 9:49 AM
ChaoticDawg
ChaoticDawg - avatar