Using a for loop, write a python program to calculate the sum of numbers from 1 to 10 | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Using a for loop, write a python program to calculate the sum of numbers from 1 to 10

17th Nov 2022, 7:36 PM
Ola Emmanuel
2 Antworten
+ 3
If you need help with your code, please show it to us. If you have a question, please ask it directly.
17th Nov 2022, 8:13 PM
Lisa
Lisa - avatar
+ 1
Why do it with a loop when there's that sum() function? it's Pyrhon built-in for summing ranges and iterables.
18th Nov 2022, 4:16 AM
Ipang