python doesn’t support switch statement the below code we can use alteration for python
def SwitchExample(argument):
switcher = {
0: " This is Case Zero ",
1: " This is Case One ",
2: " This is Case Two ",
}
return switcher.get(argument, "nothing")
if __name__ == "__main__":
argument =input("enther the choice")
argument=int(argument)
print (SwitchExample(argument))
#python
#java