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 »

 7,163 total views,  2 views today

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 »

 1,469 total views,  1 views today

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 »

 2,967 total views,  1 views today

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 »

 28,945 total views,  23 views today

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 »

 1,018 total views,  1 views today

Python Decimal to Octal Conversion

Python Decimal to Octal Conversion – This 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 and… Read More »

 4,285 total views,  5 views today

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 »

 5,114 total views,  2 views today

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 »

 2,590 total views,  1 views today

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 »

 1,956 total views

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 »

 1,274 total views,  1 views today