forked from tdwojak/Python2017
17 lines
210 B
Python
17 lines
210 B
Python
|
|
||
|
#task 03
|
||
|
|
||
|
|
||
|
import requests
|
||
|
|
||
|
url = "https://api.fixer.io/latest"
|
||
|
|
||
|
response = requests.get(url)
|
||
|
|
||
|
ALLData = response.json()
|
||
|
|
||
|
CurrancyPLN = ALLData['rates']
|
||
|
|
||
|
print("Kurs EURO: {} PLN".format(CurrancyPLN['PLN']))
|
||
|
|