Skip to content

laibanasir/python-assignments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-assignments

Mini python programs for practice and better understanding

Program which accepts the radius of a circle from the user and compute the area

Program to check if a number is positive, negative or zero

Program to check whether a number is completely divisible by another number

Program that accepts an integer (n) and computes the value of (n+nn+nnn)

Program to calculate number of days between two dates

Program to get the volume of a sphere V=4 / 3 πr3

Program to get the difference between a given number and 17, difference cannot be negative

Program to get a new string from a given string where "Is" has been added to the front

Program to display string n times

Program to find whether a given number is even or odd

Program to test whether a passed letter is a vowel or not

Program to find area of a triangle

Program that will return true if the two given integer values are equal or their sum or difference is 5

Program to solve (x + y) * (x + y)

Program to compute the future value of a specified principal amount, rate of interest, and a number of years

Program to compute the distance between the points (x1, y1) and (x2, y2)

Program to convert height (in feet and inches) to centimetres

Program to calculate the hypotenuse of a right angled triangle

Program to convert the distance (in feet) to inches, yards, and miles. 1 feet = 12 inches, 3 feet = 1 yard, 5280 feet = 1 mile

Program to convert all units of time into seconds

Program to calculate body mass index

Program to convert temperatures to and from Celsius, Fahrenheit

Program to sum of first n positive integers

Program to calculate sum of the digits in an integer

Program - integer conversion to binary, octal and hexadecimal

Program - binary to decimal conversion

Program - octal to decimal conversion

Program - hexa-decimal to decimal conversion

Program to count the occurence of a specific character in a string

Program to find GCD (Greatest Common Divisor)

Program to find LCM (Least Common Multiple)

Program that prints user's name in reverse order

Program that count vowels / consonants

Program to find the number of notes (Sample of notes: 10, 20, 50, 100, 500, and 1000 ) against an given amount

Program to check whether given input is palindrome or not

Program to reverse the digits of a given number and add it to the original, If the sum is not a palindrome repeat this procedure

Program to get the Fibonacci series between 0 to 50

Program to create the multiplication table (from 1 to 10) of a number

Program that accepts a string and calculate the number of digits and letters

Program that makes pattern with nested loop

Program that makes pattern with nested loop

Program that makes pattern with nested loop

Releases

No releases published

Packages

No packages published

Languages