Hi,

I want to change recursive definition from  function,

this code change to recursive definition, So how can i do to?

def foo(n, m):
sum = 0
while m > 0:
sum = sum + n
m = m -1
return sum


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/65921e2a-7b85-49fb-886b-90b847be8c06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to