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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wse_exercises-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42b934997ab4d54bc328673e5cb498f454e2e380913740f18435407d6e04b0c1
MD5 6b2b3b3ec8b7c3f52e24e06a479fb291
BLAKE2b-256 e199a14267e706062161409c1631bd34f78af166c8ae6884b45e6b3fd5aa2b04

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