answer this question python
Attachments:
![](https://hi-static.z-dn.net/files/dfc/fd2f98a0bf53fc0fad636d5b0cac67a0.jpg)
Answers
Answered by
2
Answer:
sum=0
ans='y'
while (ans=='y') :
num=int(input("enter any no. "))
if num<0:
print("program is abord")
break
sum=sum+num
ans=input("u want to enter more no. (y/n)")
else:
print("sum of entered no. ",sum)
Answered by
0
baljeet dekh kya kya bola h yh :-(
Attachments:
![](https://hi-static.z-dn.net/files/d19/92218dbe641fc925d3c8eaed90d0426d.jpg)
![](https://hi-static.z-dn.net/files/d26/24428cc93ef316a50a4d4f305f5768c3.jpg)
![](https://hi-static.z-dn.net/files/d52/36856af3510132d06fed40d7812f5e67.jpg)
Similar questions