- 6
what is the second answer to the Module 3 quiz???
4 Answers
+ 8
The question is 'Rearrange the code to define a function that calculates the sum of all numbers from 0 to its argument'.
* Solution:
def sum(x):
res = 0Â
for i in range(x):
res += iÂ
return res
print(sum(10))
** For people with 'smaller-screen sized phones,' you have to scroll down for this question, there are 6 options in total.
+ 1
No idea. You didn't post the question.
+ 1
How to rearrange them?
0
Hello