Multiline lambda Function
Multiline lambda function in python. Give arguments to lambdafunction() and include multiple lines in a single lambda function.
Syntax :
General Syntax :lambdaFunction.lambdafunction("list of string arguments", caller="string argument which gets calls the function.")
- First list of arguements should be wrapped in single function. eg.
- All the syntax should be same as python. Use "\t" for indentation
- Function should have some return method. eg.
- Then pass the function name to caller. (Here, "add") eg.
lambdaFunction.lambdafunction("def add(x, y) :","...", caller="...")
lambdaFunction.lambdafunction("def add(x, y) :","\n\treturn(x+y)", caller="...")
lambdaFunction.lambdafunction("def add(x, y) :","\n\treturn(x+y)", caller="add(3, 6)")
returns -> 18
when,
print(lambdaFunction.lambdafunction("def add(x, y) :","\n\treturn(x+y)", caller="add(3, 6)"))
prints -> 18.
Release files for multiLineLambda 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multiLineLambda-0.0.3.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multiLineLambda-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / multiLineLambda-0.0.3.tar.gz
| Download URL | multiLineLambda-0.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7adc3f0f79d92799d6fb3f0b44a5a86eb1c2f1bf6d2b00c734d98b2f9318bee4
|
|
BLAKE2b-256 checksum How to use checksums |
bd0ece5d0d509354ee2dde7e58899bc0427b6f6c6671f1f22263b5e1d7a280f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.3
|
Release files / multiLineLambda-0.0.3-py3-none-any.whl
| Download URL | multiLineLambda-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02b20c8844b2246616e881d02341b06d7d20c0b023219af6178ee53aff54fdac
|
|
BLAKE2b-256 checksum How to use checksums |
cb1bb5a64f4c0790dd21ae656615c5174b39394f36f9273d1ae00ae8b67844b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.3
|