Natural Numbers Get link Facebook X Pinterest Email Other Apps Natural NumbersQUESTION DESCRIPTIONPython Program to Find the Sum of First N Natural NumbersInputValue of "N"a=int(input())sum=0for i in range(0,a+1): sum=sum+iprint(sum) Comments
Comments
Post a Comment