krapppyyy krapppyyy
  • 06-08-2021
  • Computers and Technology
contestada

Write a python program to calculate the sum of numbers from 1 to 20 which is divisible by 3.

Respuesta :

adollbathchinemerem
adollbathchinemerem adollbathchinemerem
  • 06-08-2021

Answer:

Input : N = 5

Output : 7

sum = 3 + 4

Input : N = 12

Output : 42

sum = 3 + 4 + 6 + 8 + 9 + 12

Answer Link
Whyamicrazy77
Whyamicrazy77 Whyamicrazy77
  • 06-08-2021

Answer:Input : n = 2, number = 7

Output : 728

There are nine n digit numbers that

are divisible by 7. Numbers are 14+  

21 + 28 + 35 + 42 + 49 + .... + 97.

Input : n = 3, number = 7

Output : 70336

Input : n = 3, number = 4

Output : 124200

Explanation:

Answer Link

Otras preguntas

Is 7/10 smaller than 1/2
when and where did Muhammad first receive words from Allah
I'm suppose to choose one and write a well organized small essay.. a. Jonathan Edwards’s “Sinners in the Hands of an Angry God,” Thomas Paine’s Common Sense, an
Why is catatonia an important region in spain A. It is the largest tourist destination in spain B. It produces 25% of spanish exports qnd nearly 40% of its in
Nosotros _______ a las diez de la noche. a vamos a acostar b acostarnos c vamos a acostarse d vamos a acostarnos
can anyone tell me how to answer number 5the final answer is in red color
Andy is one-fourth as old as his grandfather Who is 76 years old
By the end of the Civil War: A) many Confederate leaders had been tried for treason. B) African Americans had gained full citizenship. C) the South's economy h
purchase price = $2615; tax rate = 3% $78.45 $2615.03 $2618.00 $2693.45
singular form of las mochilas