Friday, December 20, 2019

money converter

def dollars_to_euros(amount):
    return amount * .9


def euro_to_dollar(amount):
    return amount * 1.11


print(dollars_to_euros(1))

print(euro_to_dollar(100))

No comments:

Post a Comment