Skip to content

Commit 4501f7f

Browse files
Update project_euler/problem_010/sol1.rb
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
1 parent 9010118 commit 4501f7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

project_euler/problem_010/sol1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#Summation of primes
33
#The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
44
#Find the sum of all the primes below two million.
5-
#References: - https://en.wikipedia.org/wiki/Prime_number
5+
#References: https://en.wikipedia.org/wiki/Prime_number
66
def is_prime?(number)
77
value = true
88
if number > 1 and number < 4

0 commit comments

Comments
 (0)