Using the two lists below print a table of the results of the top ten movies and release dates
Example
Movie Title (tab) Year of release
The Shawshank Redemption 1994
#List of top 10 movies of all time
movie_titles = ["The Shawshank Redemption", "The Godfather", "The Dark Knight", "Pulp Fiction",
"Schindler's List", "The Lord of the Rings: The Return of the King",
"Forrest Gump", "Fight Club", "Inception", "The Matrix"]
# List of corresponding release years
release_years = [1994, 1972, 2008, 1994, 1993, 2003, 1994, 1999, 2010, 1999]
Fifa world cup winners
years = [2002, 2006, 2010, 2014, 2018, 2022]
countries = ["Brazil", "Italy", "Spain", "Germany", "France", "Argentina"]
captains = ["Cafu", "Fabio Cannavaro", "Iker Casillas", "Philipp Lahm", "Hugo Lloris", "Lionel Messi"]
Spotify streams
# List 1: Artist names
artists = [
"Sabrina Carpenter", "Benson Boone", "Billie Eilish", "Teddy Swims", "FloyyMenor & Cris Mj",
"Gracie Abrams", "David Guetta", "Future", "V", "Sevdaliza"
]
# List 2: Song titles
songs = [
"Espresso", "Beautiful Things", "BIRDS OF A FEATHER", "Lose Control", "Gata Only",
"I Love You, I'm Sorry", "I Don't Wanna Wait", "Type Shit", "FRI(END)S", "Alibi"
]
# List 3: Stream counts (in billions)
streams = [
1.781, 0.463, 0.463, 0.455, 0.437, 0.437, 0.463, 0.455, 0.453, 0.437
]
# List 4: Countries of origin
countries = [
"United States", "United States", "United States", "United States", "United States",
"United States", "France", "United States", "South Korea", "Iran"
]
Lists
random_numbers = [ 843, 215, 672, 984, 331, 520, 109, 758, 621, 437, 982, 194, 865, 376, 543, 721, 290, 639, 813, 457, 152, 788, 946, 623, 374, 558, 817, 492, 105, 634, 928, 219, 487, 760, 381, 540, 291, 671, 832, 319, 467, 984, 153, 629, 745, 312, 894, 507, 641, 256, 759, 402, 888, 673, 235, 581, 943, 317, 869, 402, 508, 724, 196, 873, 689, 453, 342, 920, 157, 611, 735, 826, 492, 317, 870, 504, 681, 255, 962, 141, 830, 695, 307, 518, 241, 739, 458, 632, 974, 825, 152, 648, 397, 519, 763, 284, 870, 623, 315, 798 ]
Write a program to print the
max number from the list
minumum number from the list
print the sum of the list
print the sorted list
print the reverse sorted list
Checking a variable for specific character or object
paragraph = """In the year 2025, a total of 7,532 species of amphibians were recorded. Among them, 3,200 were classified as frogs and toads. The study, conducted over 15 years, analysed 8,000 samples from 27 different countries."""
check how many times the letter a appears
check how many digits are in the sentence
print the sentence in uppercase
Follow up with Examcraft Mock Paper 2025 Section C 16_a
numbers = [1, 5, 12, 3, 8, 7, 20, 15, 2, 9, 11, 4, 6, 10, 13, 14, 16, 17, 18, 19]
1: Write a script to display if all numbers are positive in the list eg print "all numbers are postive in the list"
2:Write a script to display if any numbers are positive in the list eg print "at least one is positive in the list in the list"