forked from tdwojak/Python2017
commited tasks
This commit is contained in:
parent
b353aee815
commit
1fc06b7b66
16
labs03/task03.py
Normal file
16
labs03/task03.py
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
#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']))
|
||||
|
Loading…
Reference in New Issue
Block a user