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.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wse_exercises-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68719b5eb525da2f9d931d903c203fb699e85e98c36a4db24f52b4a3c038323e
MD5 b1cbb12683b6cf52ed9695c7fed69e7e
BLAKE2b-256 8761c10787c2a0780026d8360299ff6d4b4cf3e72ede45276c2de44aa65b9a92

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