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. /Finding the order of rotational symmetry
MathematicsMediumHigh School (9–10)Geometry

Finding the order of rotational symmetry

You will turn the corners of a shape about the origin and count how many whole-degree turns fit it onto itself.

Your tasks.

  1. In rotate, return the point (x, y) turned anticlockwise about the origin through degrees. Round both numbers to 666 decimal places.
  2. In fits, return True when turning every corner in corners through degrees gives exactly the same set of corners.
  3. Set orders to the list of orders of rotational symmetry of square and rectangle. The order is the number of whole degrees from 000 to 359359359 for which the shape fits.

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, add a regular hexagon with its corners at the points (2, 0), (1, 1.732051), (-1, 1.732051) and so on, and find its order.

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
← Bearings and journeysChanging units →
More onGeometry

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Rotational symmetry and symmetry of solidsSymmetry and Units of Measure

More labs on this topic

  1. Enlargement and the area scale factorMedium
  2. Reflect, turn and slide pointsEasy
  3. Bearings and journeysMedium
  4. Can this triangle be drawn?Medium
Faces, edges and verticesMedium
All labs on this topic →