mhajiloo / persiantools

Jalali date and datetime with other tools
MIT License
69 stars 5 forks source link

a new function with a better name #16

Open GreatBahram opened 5 years ago

GreatBahram commented 5 years ago

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