Last active
May 19, 2020 06:10
-
-
Save Eserthesay/92725983b4830aa94a3bc8ca3c3c2044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from forex_python.converter import CurrencyRates | |
c = CurrencyRates() | |
usd_rates=c.get_rates('USD') | |
usd=1.0 | |
eur=usd_rates['EUR'] | |
trl=usd_rates['TRY'] | |
def capraz_kur_via_func(x,y,z): | |
return x/y*z | |
capraz_kur_via_func(usd,eur,trl) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment