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

What was a political machine? How does it work?
The North American Plains is one of the three major plains areas in the world??? i need help someone please
Centrioles are found in animal cells. t/f?
27 divided by 89,420 remainder as a faction?
Which immigrant groups adapted especially well economically? Which groups lagged? Why?
27 divided by 89,420 remainder as a faction?
internal membrane system that helps make proteins ...
·show me how to solve this promblem.2.7
why wheat flour is usually passed near a magnet before being packed?
Osmosis occurs through water channel proteins called ...