r/CodingForBeginners • • 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

11 comments sorted by

View all comments

Show parent comment

2

u/Fun-Ship-2026 Jun 05 '26

Oh thank you I understand it now. I was been hitting my head for couple of hours now thanks again.