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
Example:
def test(a,b):
return "HI Closed"
a = b+10
print(a)
test(10,11)
output:
HI Closed
No comments:
Post a Comment