GH avatar Bite 1. Sum n numbers

Write a function that can sum up numbers:

  • It should receive a list of n numbers.
  • If no argument is provided, return sum of numbers 1..100.
  • Look closely to the type of the function's default argument ...

Have fun!

go back Beginner level
Bitecoin 2X

2300 out of 2738 users completed this Bite.
Will you be Pythonista #2301 to crack this Bite?
Resolution time: ~25 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.47 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7