0
Help me to carecter this python code
#I want to add N numbers and Store in sum var. N = int(input()) #your code goes here sum = int(0) for x in range(0,N) sum = sum + (int)x else : sum+=N print(sum)
3 Answers
#I want to add N numbers and Store in sum var. N = int(input()) #your code goes here sum = int(0) for x in range(0,N) sum = sum + (int)x else : sum+=N print(sum)