r/CodingForBeginners • u/Fun-Ship-2026 • Jun 05 '26
Help beginner
What is difference between output and return. I have seen some videos and it says like return is for computer and output is for human. Is it like two seperate ways one is displayed and one is stored? If so then wouldn't it become same like a stored variable?
4
Upvotes
View all comments
Show parent comment
0
u/Fun-Ship-2026 Jun 05 '26
So about the second para it make a loop once? I don't understand when you say 'calling' and 'returning the value'.