Using for loop and sum method . | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Using for loop and sum method .

write a code such that I can sum all the numbers that are divisible by 3 and 5 between 0 to less than 1000.

3rd Nov 2018, 5:23 AM
Abhishek kumar
Abhishek kumar - avatar
1 Réponse
3rd Nov 2018, 5:36 AM
Izaak GOLDSTEIN
Izaak GOLDSTEIN - avatar