# 第五章 # if语句 # 1.基本示例 cars = ['audi', 'bmw', 'subaru', 'toyota'] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title())
if语句
猜你喜欢
转载自www.cnblogs.com/ameng666/p/8909191.html
今日推荐
周排行