5 lines
No EOL
58 B
Python
5 lines
No EOL
58 B
Python
def rey(n):
|
|
i = 0
|
|
while i <= n:
|
|
i = 2*i
|
|
return i |