...

/

Quiz

Quiz

Test your knowledge of functions with this quiz!

Technical Quiz
1.

What would be the value of my_string at the end of the program?

my_string = "Hello"


def exclamation(my_string):
    my_string = "!!" + my_string + "!!"
    return my_string


exclamation(my_string)
print(my_string)

A.

!!Hello!!

B.

Hello

C.

!!!!

D.

Compilation error


1 / 5