Extended Python Code
This is an extended Python code along with a README file.
Description
The Python script extended_code.py demonstrates a simple shopping cart implementation. It defines classes for ShoppingCart and Item, where ShoppingCart can add and remove items, calculate the total cost, and Item represents a product with a name and price.
How to Run
To run the script, simply execute extended_code.py using Python.
python extended_code.py
Metadata
Release files for kopiluwak 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kopiluwak-0.2.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kopiluwak-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / kopiluwak-0.2.tar.gz
| Download URL | kopiluwak-0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dab31c883558ea27f356f914881cbe922aa4745bb8683da518c9fae6144a9b89
|
|
BLAKE2b-256 checksum How to use checksums |
06d451326b6d4b5009b86fac891cbb6fcfe424cac0e800a6dc145189e72cc205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / kopiluwak-0.2-py3-none-any.whl
| Download URL | kopiluwak-0.2-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6225420d5516cef7bde9d4800328e88f05f3107fcaa13d4b14647a943c2d0b28
|
|
BLAKE2b-256 checksum How to use checksums |
57e60a9910cf191353f4266630fb0b55e8047332a33f27d5ca23ab884d997200
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|