Please help me in this python coding:

What is the output of this code ?
Def func (x) :
res = 0
for i in range (x) ;
rest + =i
return res
print (func(4))

Dear Student,

As this is a topic that is above the level that we at Ask & Answer can provide help with, I would encourage you to check with your teacher/professor for additional help. We encourage you to come back if you need any help in the areas that we are able to provide assistance in.


  • -2
What are you looking for?