# chapter5 # if statement # 1. Basic example cars = [ ' audi ' , ' bmw ' , ' subaru ' , ' toyota ' ] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title())
# chapter5 # if statement # 1. Basic example cars = [ ' audi ' , ' bmw ' , ' subaru ' , ' toyota ' ] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title())