0

Can someone please explain this , I'm getting wrong answer , the correct answer is 6 . please explain how ?

def func (x): res = 0 for i in range (x): res+=i return res print (func(4))

16th Aug 2020, 3:47 PM
Alpa
Alpa - avatar
2 ответов
+ 1
Thank you 😊
20th Sep 2020, 10:35 AM
Alpa
Alpa - avatar