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))
2 Answers
+ 1
Thank you đ
def func (x): res = 0 for i in range (x): res+=i return res print (func(4))