Below is the code in javascript. I need to convert it into Python. Having a multiple switch cases with one return value.:
textOfBetType: function(tip) {
    switch (tip) {
    case "tip1":
    case "tip0":
    case "tip2":
        return "Livewette 0:0"
        //return "Sieger (3-Weg)"
    case "tipOver":
    case "tipUnder":
        return "Über/Unter 2,5";
      }
    return null;
}
I used "if and else" statement in Python.
def text_of_bet_type(self, tip):
        if tip == "tip1" or tip == "tip0" or tip == "tip2":
            return "Livewette 0:0"
        else:
            return 'null';
but is there any other way to do this this..
