how to return the sum of two numbers python
def add(a, b):
return a + b
how to return the sum of two numbers python
def add(a, b):
return a + b
sum of multiples of 3 or 5 python
total = []
for num in range(0,1001):
if (num % 3 == 0) or (num % 5 == 0):
total.append(num)
print(sum(total))
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us