?
What will be the output of the following Python code snippet?
What will be the output of the following Python code snippet?
def example(a):
a = a + '2'
a = a*2
return a
>>>example("hello")
def example(a):
a = a + '2'
a = a*2
return a
>>>example("hello")
Join the Discussion
Login to post a comment or share your explanation.
Login