Last active
August 29, 2015 14:01
-
-
Save xiaotangyuan/a922d16bffad3fd2bac8 to your computer and use it in GitHub Desktop.
求约数
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#注释 | |
shu=10000 | |
result=[a for a in range(1,shu+1) if shu%a==0] | |
print(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment