fork download
  1. natural_number = 14
  2. sum=0
  3. for i in range(1,natural_number+1):
  4. sum = sum + i
  5.  
  6. print("The Total Sum Of",natural_number, "Natural Numbers Is:", sum)
Success #stdin #stdout 0.03s 9644KB
stdin
Standard input is empty
stdout
The Total Sum Of 14 Natural Numbers Is: 105