#!/usr/bin/python3.8 import yfinance as yf eurzar = yf.Ticker('EURZAR=X') print(round(eurzar.history(period="1m").Close.to_list()[0], 4))