Pythagorean theorem tells us that the sum of the squares of two right angles of a right triangle is equal to the square of the hypotenuse.
It also tells us that "three strands, four strings and five", that is, the ratio of twisted strings is 3: 4: 5.
Then, we can know whether the "right angle" is vertical by measuring the length of 3 cm and 4 cm on both sides of an angle with a ruler of 20 cm, and then measuring whether the hypotenuse is 5 cm.