In Python there is not a switch/case statement, however this can be worked round using nested if..elif..else comands.
var = "aa"
if var in ( "a", "aa", "aaa" ) : print "it is a kind of a ";
elif var in ( "b", "bb", "bb" ) :print "it is a kind of b ";
else : print "it is something else ";