What will the output of the following statement be?
print "%s is awesome !" % python
Explanation
Since python is not a string here and variable with such name is not defined in current scope, interpreter will throw a
NameError: name 'python' is not defined

A python3 quiz would be great ;)

2019 Feb 7, 12:00:37 AM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback