P10195.py, Python Solution of UVa geometry problem: 10195 - The Knights Of The Round Table. In this post we will see how we can solve this challenge in Python for UVa Online Judge.

Problem Description

King Arthur is planning to build the round table in a new room, but this time he wants a room that have sunlight entering it, so he planned to build a glass roof. He also wishes his round table to shine during the day, specially at noon, so he wants it to be covered totally by the sunlight. But Lancelot wants the glass part of the room roof to be triangular (and nobody knows the reason why, maybe

...

You can find the full details of the problem The Knights Of The Round Table at UVa Online Judge

Solution: Please check the p10195.py snippet for the solution.

Solution originally posted at: Github by @sajjadt