Question: ANSWER MUST BE IN PYTHON a) Write a python function, call it add_it_up (), that takes a single integer as input and returns the sum
ANSWER MUST BE IN PYTHON
a) Write a python function, call it add_it_up (), that takes a single integer as input and returns the sum of integers from 0 up that integer.
If a non-integer is passed, it should return 0.
b) show that the sum up to a specific n is equal to n(n+1)/2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
