Get Help Now
Python Quiz
Home  ⇒  Python Quiz
 

Results

Congratulations! You passed the Python quiz.

You failed the quiz. Try again after studying Python.

HD Quiz powered by harmonic design

#1. What is the correct way to print text in Python?

#2. Which symbol is used for comments in Python?

x = 5
y = 3
print(x y)

#3. What is the output of this code?

name = “John”

#4. Which data type is this?

#5. What does len() function do?

#6. What is the correct Python file extension?

Previous
Next

print(2 * 3)

#7. What will this code output?

#8. Which keyword is used to create a function?

print(type(10))

#9. What will this code return?

#10. Which keyword is used for loops?

Previous
Finish