2
3def main():
4 count = 1
5 for i in range(1, 21):6 count *= i // gcd(i, count)
7 return count
4 count = 1
5 for i in range(1, 21):
6 count *= i // gcd(i, count)
7 return count
3def main():
4 count = 1
5 for i in range(1, 21):
6 count *= i // gcd(i, count)7 return count
1from math import gcd, prod
2
3def main():
4 count = 15 for i in range(1, 21):
6 count *= i // gcd(i, count)
7 return count
6 y = smallestPrimeFactor(x)
7 if y < x:
8 x //= y
9 else:10 return x
11print(main())
Indentation has tabs when only spaces are expected. Change all tabs to spaces.