What will be the output of the following Python code snippet?

Questions & AnswersCategory: PythonWhat will be the output of the following Python code snippet?
Geek Boy Staff asked 2 years ago

What will be the output of the following Python code snippet?

def example(a):
    a = a + '2'
     a = a*2
    return a>>>example("hello")

a. indentation Error
b. cannot perform mathematical operation on strings
c. hello2
d. hello2hello2