DashboardDemo Course1. Sum of Numbers

1. Sum of Numbers

Calculate the sum of numbers from 1 to n. Read n from input, sum 1 to n, print result. Example: n=5 → output: 15

Expected Output

15

Code Editor

Loading...
Terminal - Your output

>>>python sum_of_numbers.py

Codie's Suggestions

Results

Task not done yet. 😿
    No other quests...

5