Class 7 Python Revision Worksheet (1)
Class 7 Python Revision Worksheet (1)
a. Length() c. Len_list()
b. Len() d. List_length()
a. And c. Not
b. Or d. Xor
a. .py c. .pyh
b. .pyt d. .pyn
4. The ___________________ method is used to delete the last item of the list.
5. All the code that is part of the function must start on a new line & indented. __
Column A Column B
______________________________________________________________
______________________________________________________________
3. The type of loop used when the user do not know how many times a loop
needs to be repeated.
______________________________________________________________
5. Syntax to insert the data 100 at position 1 in the list named NumberList.
______________________________________________________________