7 lines
216 B
Python
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.")
|