### Python | Check Armstrong Number using for loop

An Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits….

### Python | Factorial of a number using for loop

The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. The factorial…

### Create your own ChatGPT with Python

ChatGPT is a product of openai, currently ChatGPT is the most famous product of openai but there are many other products. In this article, we…

### Radha Krishna using Python Turtle

Hello friends, in this article, we will learn to draw a simple drawing of Radha Krishna using Python Turtle. Please share if you like. Image…

### Python Programming Examples | Fundamental Programs in Python

Python is a popular, widely-used programming language and easy to learn for beginners because of its short syntax and readability, and learning to code in…

### Python | Delete object of a class

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 | Modify properties of objects

Output: Amit 60000

### Python | Create a class that takes 2 parameters, print both parameters

Output: Rakesh 50000Amit 60000

Output: 10

Output: 40

### Python | filter numbers(that are not divisible by 3 and 4) from a list using lambda and filter()

Output: [12, 24, 36]

### Python | lambda function that returns the maximum of 2 numbers

Output: Enter numbers: 1 2 2

### Python | Convert all strings of a list to uppercase using lambda

Output: [‘ONE’, ‘TWO’, ‘THREE’]

### Python | Square numbers of a list using lambda

Output: [1, 4, 9, 16, 25]

### Python | Reverse and convert a string to uppercase using lambda

Output: TNEMNGISSAYPOC

### Python | Convert String to uppercase using lambda

Output: COPYASSIGNMENT

### Python | Reverse a list using lambda

Output: [3, 2, 1]