mardi 20 septembre 2016

Change if conditon dynamic ? (python)

Hey guys i want to change the if condition in a function dynamic.

def func(<):
     if y<x:
        return x

def func(=):
         if y=x:
            return x

i want just the condition changed, any ideas?

Aucun commentaire:

Enregistrer un commentaire