I don't want to just feed you the answer.
You need to make a for loop or while loop that starts at the first number, and ends at the second number. Look at the link I posted -- "Iteration statements (loops)" section.
Post your attempt here, with code, if you are still confused.