Skip to content
#1. In Python, the body of the if statement is indicated by the _______
#2. _______ is used to separate the blocks.
#3. Iterating over a sequence is called _______
#4. ______ continues until we reach the last item in the sequence.
#5. We can generate a sequence of numbers using _____ function.
#6. _____ loop is used to iterate over a block of code as long as the test expression.
#7. The _____ statement terminates the loop containing it.
#9. The _____ statement is used to skip the rest of the code inside a loop for the current iteration only.
#10. _______ represents an entity in the real world with its identify and behaviour.
#11. Where is function defined?
#12. What is the output of the expression:round(4.576)?
#13. The expression a[5] will match ________ characters with the previous regular expression.
#14. Which of the following expressions can be used to multiply a given number “a” by 4?
#15. _____ is used to create an object.
#16. Which of these is not a core datatype?
#17. What datatype is the object below?L=[1,23,”hello”,1]
#18. What is the output of the following expression if the value of x is 34?print(“%f%x”)
#19. How many keyword arguments can be passed to a function in a single function call?
#20. Select all options that print hello-how-are-you
#21. How do you get the current position within the file?
#22. What is answer of this expression, 22%3 is?
#23. The assignment of more than one function to a particular operator is _________
#24. Can one block of except statements handle multiple exception?
#25. What is returned by math.ceil(3,4)?