I always had stumbled on this topic, but, well, yeah.
I want to learn how to combine if statements. I made a thread like this long ago, but I don't want to necropost.
So, As an example, what exactly would I do if I had something like this?
def add_n(): n = int(raw_input('> ')) print n + 5 if a == 1: print 'string' elif a == 2: n = int(raw_input('> ')) print n + 5 else: add_n()
(I know this is unreliable to convert because of its shortness, but I'd rather keep it simple.)