Computer Science, asked by christythomas063, 8 months ago

Anu wishes to prepare a program to display the value of numbers from 1 to 25. The program that Anu prepared is given below. There are some errors in it. Can you edit the errors? s=0 for i in range(25): s=s+i print(s)

Answers

Answered by akashyadav587
0

Answer:

in range function it require 26 to increment till 25☺

Answered by sanaabdulazeez28
3

Answer:

s=0

for s in range (25):

   s=s+1

   print(s)

I hope this is the required answer...

( Please double check it using the python programming website. )

Similar questions
Science, 8 months ago