from math import * try: x = float(input("Введіть значення x: ").replace(",", ".")) y = float(input("Введіть значення y: ").replace(",", ".")) r = (pow(e, 2 * x) + sin(y)) / (log10(3.8 * x + y)) print(f"R = {r}") except Exception as err: print("Error ocured:", err)