what is difference between print and return in python ? explain easy way
Answers
Answered by
1
Answer:
print just shows the human user a string representing what is going on inside the computer. The computer cannot make use of that printing. return is how a function gives back a value. This value is often unseen by the human user, but it can be used by the computer in further functions.
Answered by
4
hope this is helpful
Attachments:
Similar questions