摘要: Dealing with user input is a very common task in any Web application or Web site. The standard way to do it is through HTML forms, where the user inpu 阅读全文
posted @ 2023-06-15 10:38 花生与酒 阅读(67) 评论(0) 推荐(0) 编辑
摘要: list和''.join ¶ l = [] for i in range(10000): l.append(str(i)) s = ''.join(l) 推导式法 s = ''.join(str(i) for i in range(10000)) 阅读全文
posted @ 2023-06-15 09:52 花生与酒 阅读(10) 评论(0) 推荐(0) 编辑