Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BuglessCoder authored Mar 11, 2017
1 parent 5b1a73a commit 41ee6cd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Py数.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
n = 2992
def SUM(n,m):
sum=0
while n>0:
sum=sum+n%m
n=n//m
return(sum)
if SUM(n,10)==SUM(n,16) and SUM(n,10)==SUM(n,12):
print('Yes')
else:
print('No')

0 comments on commit 41ee6cd

Please sign in to comment.