Curso_Intensivo_de_PYTHON/chapter_03/motorcycles.py
2023-06-02 17:22:53 +02:00

7 lines
216 B
Python

motorcycles = ['honda', 'yamaha', 'suzuki', 'ducati']
print(motorcycles)
too_expensive = 'ducati'
motorcycles.remove(too_expensive)
print(motorcycles)
print(f"\nA {too_expensive.title()} is too expensive for me.")