problemator - WolframAlpha's Unlimited AI-generated practice problems and answers API wrapper.
-How to use-
fromproblematorimport*fromrandomimportchoiceloadSession() # Initializeprint(getCategories()) # See categoriescategory=getCategoryByID(0) # Get Addition by IDcategory=getCategoryByName('Add') # Get Addition by Name# LVL: 0 - Beginner; 1 - Intermediate; 2 - Advanced# Count - Number of problems# type - Categoryproblems=generateProblems(count=10, lvl=0, type=category)
problem=choice(problems) # Get random problemprint(problem['text']) # Text of the problemprint(problem['image']) # Image of the problemprint(problem['difficulty']) # Difficulty of the problemc=checkProblem(problem, 'x+5') # Check problem, where x+5 - answerprint(c['correct']) # True or Falseprint(c['hint']) # Image of the Hintprint(c['solution']) # Image of the Solution
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.