given_list = [5, 4, 4, 3, 1, -2, -3, -5, -7]
total = 0
i = 0
while(i < len(given_list)):
if given_list[i] < 0:
total += given_list[i]
i += 1
print(total)
https://www.youtube.com/watch?v=EUm5_llWHBQ Hi, namaste Kamj. So, uh I just have been going through something in my life that I wanted to ...
No comments:
Post a Comment