Calling a Function in Python After creating a function in Python we can call it by using the name of the functions Python followed by parenthesis […]
Read moreTag: python
Python function
Python Function Python Functions is a block of statements that return the specific task. The idea is to put some commonly or repeatedly done tasks […]
Read moreSome programs of loop in Python
Program of loop in Python Python program to print a multiplication table of a given number. # if the given range is 10 given_number […]
Read moreLoop in Python
Loop in Python In Python, loops are used to iterate over a sequence (like a list, tuple, dictionary, set, or string) or to repeat an […]
Read moreString in Python
In Python, a string is a sequence of characters enclosed in quotes. You can use single quotes (‘), double quotes (“), triple single quotes […]
Read moreData types in Python
-Data types in Python – Python provides a variety of built-in data types that allow you to handle different kinds of data effectively. Here […]
Read moreFew Examples of Python that use conditional statements
Here are a few examples of Python programs that use conditional statements to demonstrate different concepts: Example 1: Check if a number is positive, negative, […]
Read moreConditional Statements in Python
# if statement example if 10 > 5: print(“10 greater than 5”) print(“Program ended”) —-Output—- 10 greater than 5 Program ended 2. […]
Read moreTypecasting in Python
Type casting in Python Type Casting is the method to convert the Python variable data type into a certain data type in […]
Read morePython tutorials
Python tutorials for beginners Python Operators In Python programming, Operators in general are used to perform operations on values and variables. These are standard […]
Read more
Recent Comments