HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /Can this triangle be drawn?
MathematicsMediumHigh School (9–10)Geometry › Constructions

Can this triangle be drawn?

You will test whether three lengths can make a triangle, and find the point where the two construction arcs cross.

Your tasks.

  1. In can_draw, return True when a triangle can be drawn with the sides a, b and c, and False otherwise.
  2. Set drawable to the list of the sets in sets that can be drawn, in order.
  3. In third_corner, return the point (x,y)(x, y)(x,y) where the two arcs cross. The base is ab. The arc from the left end has radius ac. The arc from the right end has radius bc. Round both numbers to 222 decimal places.

Run it first, just as it is. The checker at the end prints FAIL for each task. Then do the tasks one at a time, and run the program again after each one. A Hint appears under every check that still fails.

When every line says PASS, find the corner for the sides 666, 555 and 444, and check its distance from both ends of the base.

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A worked solution

Have you tried it?

Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.

Log in to save
← All Labs
← Faces, edges and verticesBearings and journeys →
More onGeometry › Constructions

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Measuring, drawing and constructingDrawing, Constructions, Nets and Scale Drawings

More labs on this topic

  1. Bearings and journeysMedium
  2. Enlargement and the area scale factorMedium
  3. Reflect, turn and slide pointsEasy
  4. Finding the order of rotational symmetryMedium
Faces, edges and verticesMedium
All labs on this topic →