Question:
Rewrite the following code in python after removing all syntax error(s). Underline each correction done in the code.
def Sum(Count) #Method to find sum
S=0
for I in Range(1,Count+1):
S+=I
RETURN S
print Sum[2] #Function Call
print Sum[5]
C. Sir| Created: 11-Jan-2019 | Updated: 11-Jan-2019|CBSE12A-2015
