Python

from math import *
print(sin(radians(45)))

Oder:

print(sin(pi/4))