Вот пример того, как можно получить последовательность из сериала «Форсаж» с помощью кода Python:
# Define the Fast and Furious series
fast_furious_series = [
"The Fast and the Furious",
"2 Fast 2 Furious",
"The Fast and the Furious: Tokyo Drift",
"Fast & Furious",
"Fast Five",
"Fast & Furious 6",
"Furious 7",
"The Fate of the Furious",
"F9"
]
# Print the Fast and Furious series sequence
for index, movie in enumerate(fast_furious_series, start=1):
print(f"Movie {index}: {movie}")
Выход:
Movie 1: The Fast and the Furious
Movie 2: 2 Fast 2 Furious
Movie 3: The Fast and the Furious: Tokyo Drift
Movie 4: Fast & Furious
Movie 5: Fast Five
Movie 6: Fast & Furious 6
Movie 7: Furious 7
Movie 8: The Fate of the Furious
Movie 9: F9