#!/usr/bin/python3
import math

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

def main():
	theta = float(input("Δώσε γωνία θ (σε rad): "))
	if 0 < theta < math.pi / 2:
		trig_values(theta)
	else:
		print("Η γωνία πρέπει να είναι στο (0, π/2)")
if __name__=="__main__":
	main()
