Q. What will be the output of the following Python code snippet?
Code:def example(a):
a = a + '2'
a = a*2
return a
>>>example("hello")
β
Correct Answer: (A)
indentation Error
def example(a):
a = a + '2'
a = a*2
return a
>>>example("hello")
You must be Logged in to update hint/solution