Initial release
This commit is contained in:
12
Le pistolet de Nick Fury.py
Normal file
12
Le pistolet de Nick Fury.py
Normal file
@@ -0,0 +1,12 @@
|
||||
for val in range(1, 500):
|
||||
res = list()
|
||||
impulsion = val
|
||||
convenable = False
|
||||
for i in range(1025):
|
||||
impulsion = int("{:b}".format(impulsion)[::-1], 2) + 2
|
||||
if impulsion not in res:
|
||||
res.append(impulsion)
|
||||
else:
|
||||
convenable = True
|
||||
if convenable:
|
||||
print(val, end=", ")
|
||||
Reference in New Issue
Block a user