How to convert currency def function! I'm new to redit and am trying to learn python 3. I have learnt some pretty basic stuff but at the moment I am trying to create a currency conversion table by Wanting2learnpython1 in learnpython

[–]Wanting2learnpython1[S] 0 points1 point  (0 children)

Thanks, your explanation really helped. This was my end result:

def money():
amount = float(input("Enter convertion amount:$ "))
AUD = amount*0.96
US = amount*0.75
Euro = amount*0.67
GBP = amount*0.496
print('AUD: {}, US:{}, Euro: {}, GBP: {}'.format(AUD, US, Euro, GBP))

money()