Loading

随笔分类 -  Languages / 01_Python

摘要:The Zen of Python, by Tim Peters Beautiful is better than ugly. 美丽的比丑陋的好。 Explicit is better than implicit. 明确的比隐含的好。 Simple is better than complex. 简 阅读全文
posted @ 2023-03-26 14:57 Artwalker 阅读(53) 评论(0) 推荐(0)
摘要:一个简单示例 cars = ['audi', 'bmw', 'subaru', 'toyota'] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) # Audi # BMW # Subaru 阅读全文
posted @ 2023-03-21 15:24 Artwalker 阅读(15) 评论(0) 推荐(0)

Live2D