java to python conversion
public static double area(int n, double side){
double area = ( n*side*side)/4* Math.tan(3.14/n);
return area;
}
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
System.out.println("Enter n and side");
int n = scan.nextInt();
double side = scan.nextDouble();
System.out.println(area(n, side));
}
}