Update sol1.rb

This commit is contained in:
domix80 2023-02-21 18:40:19 +01:00
parent fa6ebf5f78
commit 90101189b1

View file

@ -22,8 +22,7 @@ def is_prime?(number)
result = value
end
def solution?()
max_total = 2000000
def solution(max_total = 2000000)
sum = 1
num = 2
value = 1
@ -39,5 +38,5 @@ def solution?()
result = sum
end
answer = solution?()
answer = solution()
p answer