Python program to divide two numbers
Below is the python program to divide two given numbers Output: Enter numerator:75Enter denominator:6Quotient= 12.5
Below is the python program to divide two given numbers Output: Enter numerator:75Enter denominator:6Quotient= 12.5
Below is the program to swap the given two numbers Output: Enter a number:2Enter another number:7Original value of a is… Read More »Python program to swap the given numbers
Below is the Python program to display the calendar Output: Enter year:2024Enter month:11November 2024Mo Tu We Th Fr Sa Su… Read More »Python program to display calendar
Below is the Python program to swap the numbers without using temporary variable Output: Enter a number:4Enter another number:6Original values… Read More »Python program to swap the numbers without using temporary variable
Below is the code to check whether the given number is positive or negative Output: Enter a number:-7The number is… Read More »Python program to check whether a given number is positive or negative
Below is the program to check whether a given number is even or odd Output: Enter a number:6Given number is… Read More »Python program to check whether a given number is even or odd
Below is the code to print multiplication table Output: Enter a number to display its multiplication table:5Enter upto which value… Read More »Python program to print multiplication table
Below is the program to convert a decimal number into binary, octal and hexadecimal numbers Output: Enter a binary number:530b110101… Read More »Python program to convert decimal number into binary, octal and hexadecimal
It is very easy to print a sentence in Python. Just we have to do is to write the given… Read More »Python program to print Hello World
Number of uppercase letters Number of lowercase letters Number of alphabets Number of digits Number of symbols Output Enter a… Read More »Python program that reads a line and prints its statistics like: