Python Programming Lab (2018408) as per SBTE Syllabus
1. Write a program to compute distance between two points taking input from the user (Pythagorean Theorem)
2. Write a python program Using for loop, write a program that prints out the decimal equivalent of 1+½+1/3…..1/n
3. Write a Python program to find first n prime numbers. Write a program to demonstrate list and tuple in python.
4. Write a program using a for loop that loops over a sequence. Write a program using a while loop that asks the user for a number, and prints a countdown from that number to zero.
5. Write a Python Program to add matrices. Write a Python program to multiply matrices.
6. Write a Python program to check if a string is palindrome or not. Write a Python program to Check if a Sub string is Presenting a Given String.
7. Write a Python program to Extract Unique values dictionary values. Write a Python program to find the sum of all items in a dictionary.
8. Write a Python program to read file word by word. Write a Python program to Get number of characters, words,spaces and lines in a file.
9. Write a Python program f o r Linear Search. Write a Python program for Binary Search (Recursive and Iterative).
0 Comments