Computer Science, asked by shivnarayansharma575, 4 months ago

Consider the following Python program , Intended to calculate sums:

Number = int(input(“Enter number”))

N, result=number ,1

while True or n:

result = result+n

n- n-1

print(“sum = “, result)

(a)What happens when the user enters a value of 5?
(b)How would you fix this program? ​

Answers

Answered by dh6896114
0

Answer:

country articles and press enter or

Similar questions