Curso_Intensivo_de_PYTHON/chapter_05/cars.py
2023-06-02 17:22:53 +02:00

7 lines
146 B
Python

cars = ['audi', 'bmw', 'subaru', 'toyota']
for car in cars:
if car == 'bmw':
print(car.upper())
else:
print(car.title())