mathgenerator
1.5.0
교사와 학생들에게 자신의 요구에 맞게 임의의 수학 운동에 쉽게 접근 할 수있는 수단을 제공하기 위해 만들어진 수학 문제 생성기.
발전기를 시험해 보려면 https://mathgenerator-demo.netlify.app로 이동하십시오
기여 방법에 대한 정보는 Contributing.md를 참조하십시오.
프로젝트는 PIP를 통해 설치할 수 있습니다
pip install mathgenerator다음은 추가 문제를 생성하는 방법의 예입니다.
import mathgenerator
#generate an addition problem
problem , solution = mathgenerator . addition ()
#another way to generate an addition problem using genById()
problem , solution = mathgenerator . genById ( 0 ) import mathgenerator as mg 사용하고 mg.addition() 과 같은 실행 함수를 사용하여 많이 입력 할 필요가 없습니다.
문제/솔루션 쌍은 다음 중 하나로 생성됩니다.
mathgenerator.<generator_name>() - 주어진 생성기 이름에서 설정된 솔루션을 생성합니다.mathgenerator.genById(id) - id 매개 변수에서 제공하는 생성기 ID로 설정된 솔루션을 생성합니다. getGenList() 사용하여 라이브러리에 포함 된 모든 발전기 목록을 형식으로 반환 할 수 있습니다.
[funcname, subjectname]
문서는 https://lukew3.github.io/mathgenerator에서 찾을 수 있습니다