num1 = int(input("6: "))
num2 = int(input("8: "))
total = 0
for num in range(num1, num2+1):
total += num
print("The total is ", total)
complete this code
num1 = int(input("6: "))
num2 = int(input("8: "))
total =
for num in range(num1, num2+1):
total += num
print("The total is ", total)
1 answer