Curso_Intensivo_de_PYTHON/chapter_03/motorcycles.py

8 lines
216 B
Python
Raw Normal View History

2023-06-02 17:22:53 +02:00
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.")