7 lines
146 B
Python
7 lines
146 B
Python
cars = ['audi', 'bmw', 'subaru', 'toyota']
|
|
|
|
for car in cars:
|
|
if car == 'bmw':
|
|
print(car.upper())
|
|
else:
|
|
print(car.title())
|