Friday, 12 May 2023

Thursday, 11 May 2023

Monday, 8 May 2023

Difference between class and function in Python

 In Python, classes and functions are two fundamental programming constructs, each with its own unique purpose and characteristics.Functions are blocks of code that take input, perform operations on that input, and then return an output. Functions can be defined and called within a program, making it possible to reuse code and simplify the development...

Sunday, 7 May 2023

Friday, 5 May 2023

Sunday, 30 April 2023

What does the “yield” keyword do in python?

 In Python, the yield keyword is used to create a generator function. When a function includes a yield statement, it becomes a generator function, which returns an iterator object that can be iterated over with a loop.The yield statement suspends the function's execution and sends a value back to the caller, but unlike return, the function state...

Saturday, 29 April 2023

Generator Vs List in Python

 In Python, there are two main ways to create sequences of values: using a generator or a list. While both have their uses, they have different performance characteristics and memory usage, so it's important to choose the right one for your specific use case.A generator is a type of iterable, like a list or a tuple, but unlike a list, a generator...

Sunday, 23 April 2023

Saturday, 22 April 2023

Object Oriented Programming in Python

 Object-oriented programming (OOP) is a programming paradigm that is based on the concept of "objects," which can contain data and code to manipulate that data. Python is an object-oriented programming language that supports OOP concepts such as inheritance, encapsulation, and polymorphism. Here are some key concepts and syntax used in Python...

Sunday, 26 March 2023

Top 5 examples of Python decorators:

 @staticmethod: This decorator is used to define a static method in a class. A static method is a method that can be called on the class itself rather than on an instance of the class. Here's an example:class MyClass:    @staticmethod    def my_static_method():        print("This is a static method")@classmethod:...

5 awesome hidden features in Python

 Walrus operator (:=): This operator allows you to assign and return a value in the same expression. It can be particularly useful in list comprehensions or other situations where you need to assign a value to a variable and use it in a subsequent expression. Here's an example:if (n := len(my_list)) > 10:    print(f"List is too long...

Wednesday, 22 March 2023

Creating a LOG IN form by taking image in background

In this we are going to make a Log_In form in which login filling options will be in a transparent box. And you can add your own background image also. Note*:- TO change the background go inside the style tag. Inside style tag go to the...

Friday, 17 March 2023

Fancy Hover Buttons in HTML using CSS

 In this we are going to add three types of hover button styles which will make your buttons very innovative and attractive.1.Border Pop2.Background Slide3.Background Circle Code:-<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <meta http-equiv="X-UA-Compatible" content="IE=edge">   ...

Monday, 2 January 2023

Wednesday, 28 December 2022

Sunday, 25 December 2022

Python Quiz | Day 35 | What is the output of following code ?

 Complete Playlist : https://bit.ly/3GLnZPySolution: Answer: D. Explanation:The list.pop method removes an element from the list, and returns the removed element.When used without arguments, pop removes and returns the last element...

Sunday, 2 October 2022

Lazy Operators 🥱 --- Python

IntroductionPython is a great language to learn, but it can be hard to pick up if you’ve never programmed before. A lot of the syntax and functions are pretty weird when compared to other languages like JavaScript, Ruby or Java. Luckily, Python has some helpful built-in functions that make it easier for beginners to get started learning programming....

Saturday, 10 September 2022

Day 100 : Python script that’ll keep you “online” all day

 #import the library pyautoguiimport pyautogui#imports the time libraryimport time#run the next lines of code while the state is set as “True”while True:    #move your cursor 10 pixels    pyautogui.moveRel(0, 10) ...

Day 99 : Word Art From an Image Using Python

 #reading an Imagefrom PIL import ImageImage.open("wolf.png")import pywhatkitpywhatkit.image_to_ascii_art('wolf.png','MyArt')#reading text fileread_file= open("MyArt.txt","r") print(read_file.read())  #clcoding.com..::.:::.:...

Day 98 : Convert Decimal number into other number using Python

 # Python program to convert decimal into other number systemsdec = int(input("Enter a Decimal Number: "))#decimal to binaryprint(bin(dec), "in Binary.")#decimal to octalprint(oct(dec), "in Octal.")#decimal to Hexadecimalprint(hex(dec),...

Friday, 2 September 2022

Day 96 : Track phone number using Python

 import phonenumbers#import geocoderfrom phonenumbers import geocoder#specify then phone numbera = input("Enter the Phone Number: ")#clcoding.comphonenumber = phonenumbers.parse(a)#display the location of phone numberprint(geocoder.description_for_number(phonenumber,'en'))Enter...

Tuesday, 30 August 2022

Popular Posts

Categories

100 Python Programs for Beginner (100) AI (41) Android (24) AngularJS (1) Api (2) Assembly Language (2) aws (17) Azure (7) BI (10) book (4) Books (200) C (77) C# (12) C++ (83) Course (67) Coursera (251) Cybersecurity (25) Data Analysis (3) Data Analytics (3) data management (11) Data Science (149) Data Strucures (8) Deep Learning (21) Django (16) Downloads (3) edx (2) Engineering (14) Euron (29) Events (6) Excel (13) Factorial (1) Finance (6) flask (3) flutter (1) FPL (17) Generative AI (11) Google (36) Hadoop (3) HTML Quiz (1) HTML&CSS (47) IBM (30) IoT (1) IS (25) Java (93) Java quiz (1) Leet Code (4) Machine Learning (86) Meta (22) MICHIGAN (5) microsoft (4) Nvidia (4) Pandas (4) PHP (20) Projects (29) pyth (1) Python (1058) Python Coding Challenge (461) Python Quiz (131) Python Tips (5) Questions (2) R (70) React (6) Scripting (3) security (3) Selenium Webdriver (4) Software (17) SQL (42) UX Research (1) web application (8) Web development (4) web scraping (2)

Followers

Python Coding for Kids ( Free Demo for Everyone)