Skip to main content

Exercises for WSE applications

Project description

WSE Exercise Series

from wse_exercises.core.math import (
    AddingExercise,
    RandomOperandGenerator,
)

random_operand_generator = RandomOperandGenerator()
config = {
    'min_value': 2,
    'max_value': 9,
}
exercise = AddingExercise(
    operand_generator=random_operand_generator,
    config=config,
)

task = exercise.create_task()
print(f'{task.question.text = }')
print(f'{task.answer.text = }')

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wse_exercises-0.4.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file wse_exercises-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: wse_exercises-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-65-generic

File hashes

Hashes for wse_exercises-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3245b1b76aba0ba9e22b3aa1477955909bc596bb082a1c3cdbcbc199d210b6af
MD5 ca805baf6a5c74fe64af5bbec62b1e15
BLAKE2b-256 a5412960cb6446a80a66f890fb0d34addcddf1d5a4e41e144dd709b5618f4ca9

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