Skip to content

Instantly share code, notes, and snippets.

@victoraguilarc
Last active July 28, 2021 17:28
Show Gist options
  • Save victoraguilarc/4c0bb3ce5d447d64791f47e72c25a761 to your computer and use it in GitHub Desktop.
Save victoraguilarc/4c0bb3ce5d447d64791f47e72c25a761 to your computer and use it in GitHub Desktop.
bob_usd_rate = 6.96
mxn_usd_rate = 19.10
mxn_amount = float(input('Input MXN: '))
usd_amount = mxn_amount / mxn_usd_rate
bob_amount = usd_amount * bob_usd_rate
print('BOB: '+ str(round(bob_amount, 2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment