fork download
  1. natural_number = 13
  2. sum=0
  3. i=1
  4. while (i<=natural_number):
  5. sum = sum + i
  6. i+=1
  7.  
  8. print("The Total Sum Of",natural_number, "Natural Numbers Is:", sum)
Success #stdin #stdout 0.03s 9612KB
stdin
Standard input is empty
stdout
The Total Sum Of 13 Natural Numbers Is: 91