Python - Section 8 Practice Tasks
Write a program with a blank list.
Use the .append() command to add your three favourite ice-cream flavours to this list and then print the list.
Write a program with a list of 5 random numbers.
Print the list.
Delete the first and third numbers. Print the list.
Write a program with a list of three random animals.
Write an input line that lets the user type an animal.
Add what the user has written to the list and print the list.
Sort your list from task two into order.
Then print the list.
Copy the text on the right and create a program that will split the text at each full stop.
Count the number of names in the list.
Print the longest name.
Create a dictionary (see 8c) that asks users questions about yourself, such as first name, favourite colour or birthday.
Let the user answer each question and display the answer if they get it correct. Use the 'Using a Dictionary to Make a Game' section of 8c to help you.