Quiz Generator
Project description
Mostx : Quiz Generator
Generates the following quiz.
B is slower than A
A is faster than C
B is faster than C
Which is the slowest one?
Supports multiple languages.
(Japanese, Korean, Traditional-Chinese, English, )
Installation
pip install mostx
Usage
import mostx
print(sorted(mostx.get_available_langs()))
# => ['chinese', 'english', 'japanese', 'korean', ]
qgen = mostx.QuizGenerator(lang='english')
quiz = qgen(choices='ABC', n_adjs=1)
print(quiz)
# Quiz(
# statements=[
# 'C is larger than A',
# 'A is smaller than B',
# 'C is larger than B',
# ],
# question='Which is the smallest?',
# choices=('A', 'B', 'C'),
# answer='A'
# )
etc
Google App (Mostx + Kivy)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mostx-0.1.1.dev0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for mostx-0.1.1.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad9ce305b27c3d08bc8ec7246275e9ce9d611e80fe2bfd2738e7015662b32cc8 |
|
MD5 | d60446d14923bdba76ff13d514227c01 |
|
BLAKE2b-256 | 6b220cdab1622c20a5dea9ae031a47d2fb612f7a89e72b85caeb72abc4a0118a |