Examveda

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

A. Hello World!
Hello World!

B. 'Hello World!'
'Hello World!'

C. Hello
Hello

D. None of the mentioned

Answer: Option A


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python