Newsletter

Python Program That Print Out Numbers Five Through 100 By 5 (Daily Coding Challenge)

 I'm practicing python and challenging myself to simple programs to build muscle memory. My challenge today was to make a simple program that counted up to 100 by 5. Here is the source code below; enjoy and practice with me and play with the code.

Solution:

# range(start, step, stop) 
for i in range(5, 101, 5):
print(i) 
 Output: 
 
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100 
 
 
 

Comments