I'm having a problem getting the output of the switcher code.
def numbers_to_string(argument):
switcher = {
0:"Zero",
1:"One",
2:"Two"
}
return switcher.get(argument,"Nothing")
adc = argument
if adc=1:
print(numbers_to_string(argument))
Aucun commentaire:
Enregistrer un commentaire