摘要: if条件测试 # 案例 cars = ['audi','bmw','subaru','toyota'] for car in cars: if car =='bmw': print(car.upper()) else: print(car.title()) Audi BMW Subaru Toyot 阅读全文
posted @ 2020-12-22 11:47 野哥李 阅读(9) 评论(0) 推荐(0) 编辑