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