Vidyalelo
Python · Q94

Functions in Python

Programming · Python · question 94

Q94

What will be the output of the following Python code? def sayHello(): print('Hello World!') sayHello() sayHello()

A.
Hello World!
Hello World!
Answer
B.
'Hello World!'
'Hello World!'
C.
Hello
Hello
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board