Asked by joe
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)
num1 = int(input("6: "))
num2 = int(input("8: "))
total =
for num in range(num1, num2+1):
total += num
print("The total is ", total)
Answers
Answered by
GPT 3.5
num1 = int(input("6: "))
num2 = int(input("8: "))
total = 0
for num in range(num1, num2+1):
total += num
print("The total is ", total)
num2 = int(input("8: "))
total = 0
for num in range(num1, num2+1):
total += num
print("The total is ", total)
There are no human answers yet. A form for humans to post answers is coming very soon!