all valid python 3
This commit is contained in:
@@ -13,7 +13,7 @@ def gcd(x,y):
|
||||
def lcm(x,y):
|
||||
return (x*y)//gcd(x,y)
|
||||
|
||||
n = int(raw_input())
|
||||
n = int(input())
|
||||
g=1
|
||||
for i in range(1,n+1):
|
||||
g=lcm(g,i)
|
||||
|
||||
Reference in New Issue
Block a user