摘要: 1. 找出10000以内能被5或6整除,但不能被两者同时整除的数(函数) def find_numbers(): result = [] for i in range(1, 10000): if (i % 5 == 0 or i % 6 == 0) and not (i % 5 == 0 and i 阅读全文
posted @ 2024-04-08 12:00 青鸢..i 阅读(46) 评论(0) 推荐(0)