# Instead of a for loop 

# The problem statement says: 
# "Output the first integer and subsquent increments of 5 as long as the value is less than or equal to the second integer"

# The lanaugage maps almost directly to a while loop: 
# start at a value 
# Keep going while a condition is true 
# Manually increase the value by 5 each time 

first_int = int(input())
second_int = int(input())

if second_int < first_int: 
    print("Second integer can't be less than the first.")
else: 
    value = first_int 
    while value <= second_int: 
        print(value, end=' ')
        value += 5 
    print()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: