make python functions examples more complete by adding exception handling and initializing variables
This commit is contained in:
@ -28,6 +28,7 @@ python simple here """
|
||||
from __future__ import print_function
|
||||
|
||||
def simple():
|
||||
foo = 0
|
||||
print("Inside simple function")
|
||||
try:
|
||||
foo += 1
|
||||
|
||||
Reference in New Issue
Block a user