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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wse_exercises-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b222366725efeeffabc359d29fed1a938a09baf83af5d4642fcb5cbd5dd403c7
MD5 ba0fc8c518112dbf5df719e5333b3437
BLAKE2b-256 a8749f371d8355492fc9238ae88d1835dc267ccff582477c3b7981f17fde3a7d

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