Jul-04-2018, 08:44 PM
(This post was last modified: Jul-04-2018, 08:44 PM by gontajones.)
If you want to see something in console, you have to use print().
def sum_two_or_more(x1, x2, *args): if args: second = sum_two_or_more(x2, *args) else: second = x2 return x1 + second # Pay attention to the indentation print sum_two_or_more(1, 2) print(sum_two_or_more(1, 2)) # <- Python3I recommend you to use/learn python3.