Write a 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).

first_num = int(input("Enter the first number: "))

second_num = int(input("Enter the second number: "))

sum = 0
for num in range(first_num, second_num + 1):
sum += num

print("The sum of numbers from", first_num, "to", second_num, "is:", sum)