Answer:
The following are the program in the Python Programming Language
#declare a variable and initialize to 'lo'
i=lo
#declare a variable and initialize to '0'
result=0
#set a while loop that iterates from 'hi' to 'lo'
while(i<=hi):
#Then, add i with result and store it in result.
result=result+i
#increament in the variable 'i' by 1
i+=1
Explanation:
The following are the description of the program.