Question 1
Which of the following is NOT a valid variable name in python?
Question 2
What is the output of the following code snippet?
Question 3
What will be the output of the following code snippet?
Question 4
What is the correct way to open a file named "data.txt" in python for reading?
Question 5
Which keyword is used to define a function in python?
Question 6
In python, how can you check the length of a list or a string?
Question 7
How do you add a comment in python?
Question 8
What does the "import" statement do in python?
Question 9
Which of the following is NOT a characteristic of python?
Question 10
Which operator is used for exponentiation in python?