PYTHON QUIZ 2

7
Created on By Sirjana GhimireAcharya

PYTHON QUIZ 2

1 / 10

  1. In Python, what is one function to output content to the console?

2 / 10

2. Which of the following statements is NOT true about Python?

3 / 10

3. What can you put before and after a section to make all of the lines a comment?

4 / 10

4. How do you create a variable “a” that is equal to 2

5 / 10

5. Which one is NOT a legal variable name?

6 / 10

6. How do you create a variable with the numeric value 10?

7 / 10

7. What is the correct file extension for Python files?

8 / 10

8. How do you create a variable with the floating number 3.8?

9 / 10

9. What is the correct syntax to output the type of a variable or object in Python?

10 / 10

10. What is the correct way to create a function in Python?

Your score is

The average score is 64%

0%