nums = range(2, 100) for i in range(2, 10): nums = filter(lambda x: x == i or x % i, nums) print nums
No comments:
Post a Comment