美文网首页
Python-01题

Python-01题

作者: AoEliauk | 来源:发表于2020-07-28 17:06 被阅读0次

    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。

    相关文章

      网友评论

          本文标题:Python-01题

          本文链接:https://www.haomeiwen.com/subject/jyzfrktx.html