100% correct!! This comment is sooo close to being a spoiler, but I can't complain, as it probably saved me hours.
What is the purpose of the variable "gap"?
You can find a better range than this: for i in range(2, n+1) Google is your friend. Try "prime factors algorithm"
Loading collection data...
100% correct!! This comment is sooo close to being a spoiler, but I can't complain, as it probably saved me hours.
What is the purpose of the variable "gap"?
You can find a better range than this: for i in range(2, n+1)
Google is your friend. Try "prime factors algorithm"