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!

Login and get coding
go back Beginner level
Bitecoin 2X

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

We use Python 3.7