1
0
Fork 0
Python2017/labs03/task03.py

17 lines
210 B
Python
Raw Normal View History

2017-12-11 19:19:12 +01:00
#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']))