Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
# Search for an odd factor of a using brute force:
|
||||
for i in range(n):
|
||||
if (n%2) == 0:
|
||||
continue
|
||||
if (n%i) == 0:
|
||||
result = i
|
||||
break
|
||||
else:
|
||||
result = None
|
||||
print "No odd factors found"
|
||||
Loading…
Add table
Add a link
Reference in a new issue