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