Thursday, November 29, 2012
1:42 PM

Break out of the function in Python

In Python if Any function return any thing or return none means the function is completed ie Break out of the function 

Example:

def test(a,b):
      return "HI Closed"
      a = b+10
      print(a)

test(10,11)
output:
HI Closed

0 comments:

Post a Comment