Learning tool for teaching the Cake Baking Analogy
Meant to make the analogy literal so that beginners can better understand the basics of functions.
1.1 Functions:
(All functions sleep one second after they run except complete)
measure: waits one second then prints its string argument
mixIngredients: sleeps for one second then prints "Batter is mixed"
pourBatter: waits one second then prints "Batter has been poured"
setOvenTempTo: prints "Setting oven temp", waits 0.2 seconds, prints "Heating up...", prints "Ready in x hours" where x is the oven temperature divided by 100 then stops and prints "Oven temperature set to y degrees" where y is its int argument
bakeBatter: prints "Baking x layer" and then "x layer baked" where x is the ordinal form of 1 through 3 and then prints "All layers are baked!"
assembleCake: prints "Assembling cake..." then sleeps for 1 second then prints "Cake is assembled and ready to be iced!"
iceCake: prints "Icing cake..." then "Cake is iced!"
complete: executes every function and takes unlimited string arguments which are use in measure and uses 500 for setOvenTemp argument.
Metadata
Release files for baking-wijesooriya 1.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| baking-wijesooriya-1.1.8.tar.gz | 2.2 kB | Without provenance | Details for baking-wijesooriya-1.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baking_wijesooriya-1.1.8-py3-none-any.whl | Python 3 | none | any | Details for baking_wijesooriya-1.1.8-py3-none-any.whl |
Total release size: 6.1 kB
Release files / baking-wijesooriya-1.1.8.tar.gz
| Download URL | baking-wijesooriya-1.1.8.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
306314ecaf30b4f1efb9e5822947d19ea01bc0e24f1190b6833527d0f43ec688
|
|
BLAKE2b-256 checksum How to use checksums |
0d3ae30c15febdceefd78719a13808b1e5bc8705d7aa4785b56afa8fd671314f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / baking_wijesooriya-1.1.8-py3-none-any.whl
| Download URL | baking_wijesooriya-1.1.8-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dede99eee7e9603d5ff413b0aa8e68a76fdbccebc29f895b1ec45185e5c41c55
|
|
BLAKE2b-256 checksum How to use checksums |
dbd1713bbd59dfe978e1af1306932c1c95ad6e05376f9809b3de123aec6ae8ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for baking-wijesooriya 1.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.