automatic num cols
This commit is contained in:
@@ -28,6 +28,9 @@ def main(
|
|||||||
|
|
||||||
answers, problems = make_problems_and_answers(bits, num_problems)
|
answers, problems = make_problems_and_answers(bits, num_problems)
|
||||||
|
|
||||||
|
if bits > 12:
|
||||||
|
num_columns = 3
|
||||||
|
|
||||||
if pdf:
|
if pdf:
|
||||||
make_pdf(
|
make_pdf(
|
||||||
problems=problems,
|
problems=problems,
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -8,7 +8,7 @@ setup(
|
|||||||
name="binary_quiz",
|
name="binary_quiz",
|
||||||
author="Zev Averbach",
|
author="Zev Averbach",
|
||||||
author_email="zev@averba.ch",
|
author_email="zev@averba.ch",
|
||||||
version="0.1.3",
|
version="0.1.4",
|
||||||
license="MIT",
|
license="MIT",
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
description=(
|
description=(
|
||||||
|
|||||||
Reference in New Issue
Block a user