<filename>main/templates_switcher.py
def Contents(id_):
    var1=""
    if id_==1:
        var1="<h2>Helloo One</h2>"
    elif id_==2:
        var1 = "<h2>Helloo 2</h2>"
    elif id_==3:
        var1 = "<h2>Helloo 3</h2>"

    return var1
<filename>main/templates_switcher.py
def Contents(id_):
    var1=""
    if id_==1:
        var1="<h2>Helloo One</h2>"
    elif id_==2:
        var1 = "<h2>Helloo 2</h2>"
    elif id_==3:
        var1 = "<h2>Helloo 3</h2>"

    return var1