Computer Science, asked by shawqae, 3 months ago

For statement. Let us consider the following Python program [15%]

n = 4

s = 0

for x in range(1,n+1):

s = s + x

print(s)

What is displayed by this program? When n = 6, what is displayed? Change the values of s

and n such that the program displays 4.

Answers

Answered by bhanuteja8
0

nejshshdhshshshhdhdshhshshsj

Similar questions