Ladataan tehtävää…
Imagine you need to quickly add all numbers below a boundary that are divisible by 3 or 5. Write solution, which receives n and returns the sum of all natural numbers less than n that are multiples of 3 or 5. If n is negative, return 0.
1023002078def solution(n: int) -> int:
Kirjaudu sisään nähdäksesi palautushistorian
Kirjaudu sisäänKirjaudu sisään käyttääksesi tekoälymentoria
Kirjaudu sisään10230020782009168-5020