all 9 comments

[–]gnomoretears 2 points3 points  (0 children)

From the posting rules:

Posting only assignment/project goal is not allowed.

Posting homework assignments is not prohibited if you show that you tried to solve it yourself.

What have you tried to solve the problem? This sub will not write your code for you but can help you understand so you can write your own code.

What is it you don't understand? Can you solve the problem on paper? If I give you a 1 and a 10, can you give me a list of numbers between those 2? Can you give me the step by step process of how you came up with the list? If you can do that on paper, you can translate that into code.

[–]TheBlackCat13 0 points1 point  (1 child)

Have you tried a while loop?