We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Sr. no Title Page No.
Date of submission Signature
1 Write a code to enter n and x. find the sum of series 1 Write a code to enter a string. Find the number of 2 alphabets, digits, space and other special characters. 2 Write a code to enter a string. Check whether the string 3 is a palindrome or not. 3 4 Dictionary code 4 Write a code to enter a list and find minimum, maximum 5 and mean of the values in the list. 5 Write a code in python to enter a list and enter a number 6 to search. Display the position of the number. 6 7 Write a code to enter the frequency of elements in a list. 7 Write a code to enter a list. Create a new list which 8 contains the numbers which are even from the given list. 8 Write a random number generator that generates random 9 numbers between 1 and 6 (simulates a dice). 9 Define a function which takes two integers. Check wheter the first number is divisible by second or not and return 0 if number is divisible otherwise returns 10 remainder. 10 Define a function which takes two integer m and n and 11 display first n multiples of m. 11 Define a function that takes a number as parameter. Checks whether the number is prime or not, returns true 12 if the number is prime otherwise returns false. 12 Define a function which takes string as a parameter and checks whether the string is palindrome or not. Retunrs 0 13 if the string is palindrome otherwise returns 1. 13 14 Binary search 14 15 Bubble sort using function 15 Read a text file line by line and display each word 16 separated by a #. 16 Read a text file and display the number of vowels/ consonants/ uppercase/ lowercase characters in the file. 17 17 Create a binary file with name and roll number. Search for a given roll number and display the name, if not 18 found display appropriate message. 18 Create a binary file with roll number, name and marks. 19 Input a roll number and update the marks. 19 Write a Python program to implement a stack and queue 20 using a list data-structure. 20 Take a sample text file and find most commonly 21 occurring word(s). 22 22 To open create and view contents of csv file. 23 Write a Python program to insert a record in a MySQL 23 table. 24 Write a Python program to delete record(s) with 24 specified criteria from MySQL table. 25 Write a Python program to update record(s) with 25 specified criteria from MySQL table. 26 Write a Python program to search for record(s) with specified criteria from MySQL table and display suitable 26 output. 27 Write a menu - driven Python program for insert, delete, 27 update, search and display all record with calculation. 28 28 Stack Problem 31