# Category Archives: Write Python Scripts – Programs

## Python while loop Syntax Flowchart Example

Python while loop Syntax Flowchart Example – This Python programmingtutorial will explain in a simple and easy to understand way: The while loop statement in Python The Syntax of the while loop The flowchart of while loop The examples and working of while loop The Real Example of while loop The Python progam source code… Read More »

## isprime Python Function Efficient Logic

isprime Python Function Efficient Logic – This Python programming tutorial will explain: Definition of a Prime Number with examples Is 1 prime or Composite? Defining a Composite number with examples How to Write isprime python function? Explanatin of the Logic of isprime Python function The source code and output of the python program What is… Read More »

## Perfect Number Python Program

Perfect Number in Python – This Python programming tutorial will explain what is a perfect number with examples. It also provides a source code in Python for checking a number if it is a perfect number or not. What is the Definition of a Perfect Number in Mathematics In number theory, we may define a… Read More »

## Kilograms to Pounds Python Program

Kilograms to Pounds Python Program – This is a Python program to enter Kilograms by the user, and the program will convert it into pounds and show the result. How to Convert Kilograms into Pounds (Kgs to Lbs) We can easily convert the given kilograms in to the pounds using the following formula: 1 Kg… Read More »

## Python Decimal to Hexadecimal Conversion Program

Python Decimal to Hexadecimal Conversion Program – This Python tutorial will explain the actual logic to convert a decimal number to corresponding hexadecimal number. It will also explain the important statements of the Python program for conversion of decimal to hexadecimal number. How to Convert Decimal to Hexadecimal Number We know that the hexadecimal number… Read More »

## Python Decimal to Octal Conversion

Python Decimal to Octal Conversion – This python Tutorial explains the logic of decimal number to octal number conversion process. It also explains the Python code to convert a dcimal nuber into octal number. How to Convert a decimal Number to Octal Number We divide the decimal number by base 8 and get the quiotient… Read More »

## Python Decimal to Binary Converter

Python Decimal to Binary Converter – This Python tutorial explains the logic to convert a decimal number into its corresponding binary number. How To convert a Decimal Number into Binary Number We divide the decimal number by base 2 and get the quiotient and remainder.  Example: divide 5 by 2, quotient1 is 2 and remainder1… Read More »

## Python Convert Binary Number to Decimal

Python Convert Binary Number to Decimal – This Python tutorial gives the basic logic to convert a binary number into its corresponding decimal number. The image number 1 shows the whole binary to decimal number conversion process . The Python source code to convert a binary number into decimal # This Python script / program… Read More »

## Write and Run Sample Python Script

How to Write and Run Sample Python Script: In this tutorial we will write a sample Python script To Input name of the user and display a Welcome message to the user. We will suppose that you have already installed Python 3.7 on your computer system. If you have not installed the Python 3.7, please… Read More »

## How To Run Python on Windows

How To Run Python on Windows – The minimum requirement to do so is to Install Python on Windows. Here is a simple and easy to understand Python Installation Tutorial With Pictures. How To Download and Install Python On Windows You can easily download and install Python on Windows by following the steps described in… Read More »