Light Mode
Dark Mode
I solved the task , but auto-test shows an fail

Hi. Please tell me why my code does not pass auto-test Task solve Restriced sum on python My code:

summa = 0 def checkio(items): global summa try: b = items.pop() summa += b except IndexError: return summa return checkio(items)

Created: Feb. 26, 2020, 2:34 p.m.
Updated: Feb. 27, 2020, 7:08 p.m.
0
11
User avatar
Exwell94