Python | Create a class that takes 2 parameters, print both parameters
Harry January 5, 2023
Output: Rakesh 50000Amit 60000
Python | Find the maximum element in a list using lambda and reduce()
Harry January 5, 2023
Output: 40
Python | filter numbers(that are not divisible by 3 and 4) from a list using lambda and filter()
Harry January 5, 2023
Output: [12, 24, 36]
Python | lambda function that returns the maximum of 2 numbers
Harry January 5, 2023
Output: Enter numbers: 1 2 2
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