Python Important Program
Python Important Program
1. Write the algorithm, pseudocode and draw the flowchart for the following
a. Find minimum in a list
b. Insert a card in a list of sorted cards
c. Guess an integer number in a range
d. Find sum of square root of any three
e. To find whether a number is prime or not.
Unit 2.
swapping two variable,
swapping three variable,
given year is leap year or not,
roots of quadratic equation,
amstrong number,
Fibonacci series,
palindrome,
celcius to Fahrenheit
unit-3
gcd of two number
find exponentiation of a number
search an element using binary number
find factorial of a given number using recursion and without recursion
unit-4
write the following python program
a. Selection sort
b. Insertion sort
c. Merge sort
Unit-5
Write a program that reads a file and builds a histogram of the words in a file
Print all numbers in the text file and also print the number of block space in that
field.
Print all numbers