WSQ07 #WSQ07 #tc1014
Sum of Numbers
this program ask two numbers and give you the sum of the range betwen them one by one
code:
print(” este programa te pedira 2 numeros y sumara los numeros que esten en ese rango”)#Eutimio MAchuca Parra A01630244
x=int(input(” inserta el numero del cual empezara la suma”))
y=int(input(” insrta el numero al cual llegara la suma”))
print(sum(range(x,y+1)))
WSQ07 #wsq07 #TC1014 by Eutimio Machuca is licensed under a Creative Commons Attribution 4.0 International License.