avatar Bite 1. Sum n numbers

Write a function that can sum up numbers:

  • It should receive a sequence 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!

Login and get coding
go back Beginner level
Bitecoin 2X

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

We use Python 3.8