How to use Python's Trigonometry Functions : I was just messing around in python. I am a complete novice, and I haven't really been able to figure this out alone, so could someone please explain?

I was trying to make a simple calculation program for trigonometry with right angled triangles given the possible values of "x", "none", and two others with numbers. I know about the functions math.cos(), math.sin(), etc. but I'm not quite sure how they work. I'd just like to know how to use them as you would on a normal calculator, since they seem to give clearly different results due to radians/degrees or something of the sort.

Here's an example of some of the code I was trying to use:

    if hyp == "none" and opp == "x":
        answer = adj * math.tan(ang)

After entering the values 'none' for hyp, '6' for adj, 'x' for opp, and '37' for ang, I receive the value:

    -289.036

On my calculator, the same is met with '4.521'.

So, could anybody help?