persiantools
persiantools copied to clipboard
a new function with a better name
I think you can write a new function like convert_numbers
and accept from
and to
from the user. So? Then you don't need four functions that basically do the same thing.
def convert_numbers(from, to, string):
return output