Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Python Experiment List
1. Write a python program to find sum and average of three numbers
2. Write a python program to find simple interest 3. Write a python program to find area and perimeter of a triangle 4. Write a python program to convert the total time in seconds to Hours, minutes 5. Write a python program to find largest of two numbers 6. Write a python program to find a number is positive, negative or zero 7. Convert temperature values back and forth between Celsius(c) and Fahrenheit (f) 8. Check if the given number is a two digit number or not 9. Check whether a number is completely divisible by another number 10.Write a python program to find largest of three numbers 11.Create, concatenate and print a string and access a sub-string from a given string 12.Familiarize time and date in various formats 13.Find sum of digits of number 14.Print first N natural numbers and also find sum. 15.Find the reverse of a given number 16.Check whether a number is palindrome or not 17.Write a program to create, append, and remove lists in Python using NumPy 18.Simple desktop calculator using Python. Only the five basic arithmetic operators. 19.Program to construct patterns of stars (*), using a nested for loop 20.A program that prints prime numbers less than N. 21.Program to find the factorial of a number using Recursion. 22.Program to find whether a triangle is right angled triangle. 23.Recursive function to add two positive numbers 24.Recursive function to multiply two positive numbers 25.Recursive function to find the greatest common divisor of two positive numbers 26.Program to check whether the given number is a valid mobile number or not using functions. 27.Program to define a module to find Fibonacci Numbers and import the module to another program 28.Input two lists from the user. Merge these lists into a third list such that in the merged list, all even numbers occur first followed by odd numbers. Both the even numbers and odd numbers should be in sorted order 29.Write a program to play a sticks game in which there are 16 sticks. Two players take turns to play the game. Each player picks one set of sticks (needn’t be adjacent) during his turn. A set contains 1, 2, or 3 sticks. The player who takes the last stick is the loser. The number of sticks in the set is to be input. 30.Suppose you're on a game show, and you are given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what is behind the doors, opens another door, say No. 3, which has a goat. He then asks, "Do you want to pick door No.2?" Is it to your advantage to switch your choice?