195k views
22 votes
Write a python program that asks the user for two numbers. Using a for loop, add all of the numbers from the first to the second.

For example if the first number is 6 and the second number is 8 the result is 21 (6 + 7 + 8).

Print out the results when you are finished.

User Jdepypere
by
4.9k points

1 Answer

1 vote

I included my code in the picture below.

Write a python program that asks the user for two numbers. Using a for loop, add all-example-1
User Keryn Knight
by
4.5k points