Example & Tutorial understanding programming in easy ways.

What is the return keyword used for in Python?

When we Execute the code inside the function body and want to return some data to further use then we use the keyword return at the last of the function.


Syntax:

def function(a):

      a=a+1

      return a*3

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!