Integer Sum Calculation

Function to compute the sum of all integers from one up to a given number in Python.

Implement a Python function `solution()`, which takes an input parameter `n` (a positive integer). The function should calculate and return the sum of all integers from 1 to `n` (inclusive). ### Parameters - `n (int)`: The inclusive upper limit up to which the sum of positive integers is calculated. `n` is confirmed to be a positive integer. ### Return Value - The function returns the sum of all positive integers from 1 to `n` (inclusive). ### Examples ```python # Sum of 1 and 2 is 3 solution(2) # 3 # Sum of numbers from 1 to 5 is 15 solution(5) # 15 # Sum of numbers from 1 to 100 is 5050 solution(100) # 5050 ```