Question: python / Write a function called my_sum with one parameter, assumed to be a non-negative integer. Return the sum of all integers between 0 and
python / Write a function called my_sum with one parameter, assumed to be a non-negative integer. Return the sum of all integers between 0 and this number, inclusive.

Write a function called my_sum with one parameter, assumed to be a non-negative integer. Return the sum of all integers between 0 and this number, inclusive. For example: Test print (my_sum (0)) print (my_sum(3)) Result 0 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
