- 6

what is the second answer to the Module 3 quiz???

4th Oct 2017, 2:07 PM
Jonah
Jonah - avatar
4 ответов
+ 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.
4th Oct 2017, 2:57 PM
Dev
Dev - avatar
+ 1
No idea. You didn't post the question.
4th Oct 2017, 2:18 PM
AgentSmith
+ 1
How to rearrange them?
2nd Nov 2019, 3:42 PM
Yassine Aitalla
Yassine Aitalla - avatar
0
Hello
2nd Nov 2019, 3:42 PM
Yassine Aitalla
Yassine Aitalla - avatar