- Class to help create quizzes for mental unit circle conversion
- Helps practice the following
- Radians to degrees
- Degrees to radians
- Find coordinates from radians
- Find coordinates from degrees
- It simply prints out the generated results
- To generate quiz
- Import the unitCircle class
from unitCircle import unitCircle
- Initialize the circle
circle = unitCircle()
- Types of quizzes that can be generated,
degtorad
: degrees to radians/radians to degrees, anddegradtocoor
: degrees/radians to coordinate point
print(circle.generateQuiz(10, "degtorad")[0]) print() print(circle.generateQuiz(10, "degradtocoor")[0])
- Answer keys can also be generated for quizzes
quiz = circle.generateQuiz(10, "degradtocoor") print(quiz[0]) # quiz print() print(quiz[1]) # key
sami-ul / unitcirclepracticer Goto Github PK
View Code? Open in Web Editor NEWLicense: Creative Commons Zero v1.0 Universal