/bc-9-tdd

TDD

Primary LanguagePython

OOP

write a (variadic) function 'super_sum' that takes any number of numbers and sums them up or a list of numbers.

example

python
super_sum(10,5,6,9) => 30
super_sum([10,5],5) => 20
super_sum([5,6],[4,5],10) => 30

write at list 5 test cases for your function before implementing the function:

  1. write the test cases, then do a commit and push
  2. write the implementation of your function