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 Distribution

wse_exercises-0.4.4.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file wse_exercises-0.4.4.tar.gz.

File metadata

  • Download URL: wse_exercises-0.4.4.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Linux/6.12.48+deb13-amd64

File hashes

Hashes for wse_exercises-0.4.4.tar.gz
Algorithm Hash digest
SHA256 732505596d7329197e066782e2541e56367242c5669067f789ec43cdc9e7af77
MD5 7e36d7416111d0f3e850f2938d8b82fd
BLAKE2b-256 b0a8992554ce7e73db3c167b644eecc5bda3daadfeb97a36bf1b550e2e3f03a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wse_exercises-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Linux/6.12.48+deb13-amd64

File hashes

Hashes for wse_exercises-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f6e96271aee2ddf1ece37964b50d2e46d35b6b35cbe01a109ab778d2f06a826
MD5 f58aac97cfd573698025bd8b3c605f49
BLAKE2b-256 2a3c4ec664c4e4e28eb4d870b7096a6a44a0f58c778b7f69f4f81f4e0a036855

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