Category: programs in python
Python | Convert all strings of a list to uppercase using lambda
Harry January 5, 2023
Output: [‘ONE’, ‘TWO’, ‘THREE’]
Python | Reverse and convert a string to uppercase using lambda
Harry January 5, 2023
Output: TNEMNGISSAYPOC
Python | Calculator using lambda
Harry January 4, 2023
Output: PS C:\CopyAssignment.py” Enter 1. Addition 2. Subtraction 3. Multiplication 4. Division 5. Exit Enter choice: ds Enter integer values only! Enter 1. Addition 2….
Python | Multiply numbers using lambda
Harry January 4, 2023
Example 1: Output: Enter 1st number: 2Enter 2nd number: 3Enter 3rd number: 4Multiplication result is: 24 Example 2: Output: Enter numbers: 4 5 6 7840
Python | lambda with pass statement
Harry January 4, 2023
Output: File “C:\CopyAssignment.py”, line 1 output = lambda: pass ^^^^ SyntaxError: invalid syntax