Q.1.
What will be the output of the following python code
Q.2.
If you want to create an empty list called colours in Python, which of the following is correct?
Q.3.
What is the value of the expression/ 25?
Q.4.
To insert an the string "strawberries" in the first position of a list we use
Q.5.
The condition for a while loop to continue could include which of the following?
Q.6.
What button do you press to compile (run) your program so that it runs in the shell?
Q.7.
Which two statements are used to implement iteration?
Q.8.
What would be the output of the following code snippet?
Q.9.
Which type of loop iterates until instructed otherwise?
Q.10.
What would print (+produce?
Q.11.
Which of these is the correct code for creating a list of names?
Q.12.
What will be the output?name = "Dave"print (name)
Q.13.
What will the output be from the following code?print("Hello world!\nHello world!")
Q.14.
To solve a problem that requires the user to enternumbers would use what type of iteration?
Q.15.
What is the word (command) used to display numbers and text on the screen?