Author: Harry
Hello friends, thanks for visiting my website. I am a Python programmer. I, with some other members, write blogs on this website based on Python and Programming. We are still in the growing phase that's why the website design is not so good and there are many other things that need to be corrected in this website but I hope all these things will happen someday. But, till then we will not stop ourselves from uploading more amazing articles.
If you want to join us or have any queries, you can mail me at admin@copyassignment.com
Thank you
Python | Delete object of a class
Harry January 5, 2023
Output: Rakesh 50000 Amit 60000 Rakesh 50000 Traceback (most recent call last): File “C:\CopyAssignment.py”, line 14, in <module> print(obj2.name, obj2.salary) NameError: name ‘obj2’ is not…
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’]