Product question


#1



https://www.codecademy.com/courses/python-intermediate-en-rCQKw/2/3?curriculum_id=4f89dab3d788890003000096#


Is there a way to get the same results doing it in a recursive way? Thanks in advance!


def product(integ):
    result = 1
    for x in integ:
        result *= x
    return result


#2

why don't you google search
python reverse an integer site:stackoverflow.com
and start reading some articles...?!


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.