Mar-16-2019, 12:40 PM
def some_function(): if something: return1 = '1st thing' if somthing_else: return2 = '2nd thing' elif another_thing: return2 = '3rd thing' else: return1 = '4th thing' if somthing_else: return2 = '5th thing' elif another_thing: return2 = '6th thing' return return1, return2 return1, return2 = some_function()