Python Miscellaneous Quiz

Welcome to your Python Miscellaneous Quiz

Enter Your Name
What is the output of the following program :

print ("Hello World"[::-1])

Given a function that does not return any value, what value is shown when executed at the shell?

Which module in Python supports regular expressions?

What is the output of the following program :

print (0.1 + 0.2 == 0.3)

Which of the following is not a complex number?

What does ~~~~~~5 evaluate to?

Given a string s = “Welcome”, which of the following code is incorrect?

To start Python from the command prompt, use the command ______

Which of the following is correct about Python?

Leave a Reply