+ 1

Difference between return and print.plz help

both giving output,what the basic difference?

8th Aug 2016, 5:36 AM
Shubham Kapoor
Shubham Kapoor - avatar
1 Answer
+ 1
main deal is return is used to return a value internally, usually return a value from a function. print is solely for our (human) use. print shows us information.
8th Aug 2016, 5:22 PM
Izz
Izz - avatar