Answer the question
In order to leave comments, you need to log in
How is 166 obtained?
Can you please explain how 166 is obtained?
A Byte of Python, Python 3.2
Thank you.
def total(initial=5, *numbers, extra_number):
count = initial
for number in numbers:
count += number
count += extra_number
print(count)
total(10, 1, 2, 3, extra_number=50)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question