#!/usr/bin/python3
"""
     Askisi 14
"""

import math

def print_trig_values(theta):
    print(f"theta={theta:.16f}")
    print(f"sin(theta)={math.sin(theta):.16f}")
    print(f"cos(theta)={math.cos(theta):.16f}")
    print(f"tan(theta)={math.tan(theta):.16f}")

def main():
    try:
        theta=float(input("Δώσε γωνiα θ σε ακτίνα (radians), με 0<θ<π/2: "))
        if theta<=0 or theta>=math.pi/2:
            print("Η γωνία πρέπει να είναι στο διάστημα(0,π/2)")
            return
        print_trig_values(theta)
    except ValueError:
        print("Μη έγκυρη είσοδος.Δώσε πραγματικό αριθμό")



if __name__=="__main__":
        main()
