Question:
>Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5,between 2000 and 3200 (both included).The numbers obtained should be printed in a comma-separated sequence on a single line.
注意:(both included) 要求 range(2000,3201)
Solution:
(2000,2301)之间能被7整除但是不能被5整除的数字最后一个是3199。
网友评论