Skip to main content

计算概论C课程选择题、填空题、判分和错题记录工具

Project description

cm_quiz

选择题、填空题、判分和错题记录工具。

pip install cm_quiz
import cm_quiz

q1 = cm_quiz.choice_question('Python 中列表用什么括号?', ['[]', '{}', '()'], '[]')
q2 = cm_quiz.blank_question('床前明月光,疑是___。', '地上霜')

questions = [q1, q2]
answers = ['A', '地上霜']
result = cm_quiz.grade(questions, answers)
print(result['score'], '/', result['total'])
print(cm_quiz.wrong_book(result))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cm_quiz-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file cm_quiz-1.0.0.tar.gz.

File metadata

  • Download URL: cm_quiz-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for cm_quiz-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0715cebdb0f3392e24d73069b9d40d93fc5e7c44f4e65037945ebb668732d0d6
MD5 768453f5a7821d81e05cf0e5c08cf220
BLAKE2b-256 5188dda471ebcdbc2b40bc185cfd3f99561103b82047c3201355ca01531c7fc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page