S003-AC.py 213 Bytes
import math
import sys
import string

stream = sys.stdin
while True:
	n = stream.readline();
	if len(n) == 0:
		break
	n = string.atof(n)
	print "%.6f %.6f" % (math.sin(math.radians(n)),math.cos(math.radians(n)))