Write a Python Program to Calculate Simple Interest

In this tutorial, we will discuss Write a Python Program to Calculate Simple Interest and this python program we are going to learn the concept of Calculate Simple Interest in the python language. Python Program to Calculate Simple Interest In this python program to calculate the Simple Interest. princ_amount = float(input(” Please Enter the Principal … Read more

Python Program To Print Even and Odd numbers from 1 to 100

In this tutorial, we will discuss python program to print even and odd numbers from 1 to 100  and this python program we are going to learn the concept of print even and odd number form 1 to 100 in the python language. Print even numbers between 1 to 100 using a for loop we … Read more

Write a Program to Check Whether a Number is Even or Odd

In Python Program, if you want to check that a number if even or odd. To do this, divide the number being tested into two equal halves; then count the number of numbers left over after dividing to test whether they are even or odd. If there is an equal amount of numbers as there … Read more

How to Get Current Date and Time in Python

In This Tutorials How to Get Current date and Time in Python with an example. so we see Below as Example. Python Program to Get Current Date and Time Here See the python source code as example which calculate the current date and time. from datetime import date today = date.today() print(“Current Date = “, … Read more

Python Program to Calculate Electricity Bill with Source Code

In This Tutorials how to calculate  to Calculate Electricity Bill with an example. Python Program to find Electricity Bill with source code In this example how to find Electricity Bill in  python with usage to meter reading. Python Program to Calculate Electricity Bill units = int(input(” Please enter Number of Units you Consumed : “)) … Read more

Python Program to find cube of a number

In this tutorial, We learn to Python Program to find cube of a number with example. Python program to find cube of a number Written below to  find cube of a number in python. # Owner : Pythonsourcecode.com Author : Pushpam abhishek number = int(input(“Enter the number: “)) cube = number ** 3 print(“The cubed … Read more

Calendar Program in Python With Example

In this tutorial, We learn to Write a Python Program to Print the calendar of a given month and year with example. Python Calendar Program  Example In this program we show the program to display the Calendar. import calendar year = int(input(“Please Enter the year Number: “)) month = int(input(“Please Enter the month Number: “)) … Read more

Verified by MonsterInsights