[Solved] Writing a loop with a step size 10, to print out all 2-digit numbers ending in 7 in increasing order in python


range

range(stop)

range(start, stop[, step])

>>> for n in range(17, 100, 10):
        print n

        
17
27
37
47
57
67
77
87
97

solved Writing a loop with a step size 10, to print out all 2-digit numbers ending in 7 in increasing order in python