Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- R=readline
- t=R()*Math.PI/180
- r=R()
- f=x=>x.toFixed(1)
- print(f(r*Math.cos(t))+', '+f(r*Math.sin(t)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement