Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import *
- r = float(input())
- n = float(input())
- print('p =' + str(n * 2 * r * tan(180 / n)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement