GooseterV / Project-Euler

Bad indentation detected PYL-W0311
Style
Minor
2 years ago2 years old
Bad indentation. Found 1 spaces, expected 4
4	count = 1
5	for i in range(1, 21):
6		count *= i // gcd(i, count)
7	return count
Bad indentation. Found 2 spaces, expected 8
3def main():
4	count = 1
5	for i in range(1, 21):
6		count *= i // gcd(i, count)7	return count
Bad indentation. Found 1 spaces, expected 4
2
3def main():
4	count = 1
5	for i in range(1, 21):6		count *= i // gcd(i, count)
7	return count
Bad indentation. Found 1 spaces, expected 4
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
Bad indentation. Found 3 spaces, expected 12
 5	while True:
 6		y = smallestPrimeFactor(x)
 7		if y < x:
 8			x //= y 9		else:
10			return x
11print(main())