You are on page 1of 37

1.

Recursively find the Factorial of a natural number

2. Recursive code to compute the nth Fibonacci number


3. Write a program to generate random numbers between 1 and 6.

4. To find the sum of elements in the list


5. To find if a string is a palindrome or not using recursion

6. Sum of n natural numbers using loop statement


7. To illustrate read() by reading the entire data from a file

8. To illustrate read(n) by reading only the first 10 characters from the file.

9. To read a file line by line


10. To read all the lines from the file into list.

11. To read data from 2nd character into a list.

12. Program to write data to a file


13.Program to write numeric data to a file.

14.To add list items to a file using write lines() method


15.Program to illustrate ‘with’ statement

16.Program to add to an existing file


17.Design and code the program that asks the user to input their names
along with age and store the data in a text file.
18. To write structure, list in the binary file

19.To write structure , dictionary to the binary file.

20.To read dictionary items from the binary file.


21. To store and display multiple integers in and from a binary file.
22.Program to implement standard streams.

23. Program for Binary Search in a list using recursion


24.To copy contents of a file to another file.
25. To plot a simple line chart using two lists.
26.To add legends, titles and labels to a line plot with multiple lines.
27. To plot two lines in two different views of the same window.
28.Program to plot frequency of marks using line chart
29.Program to plot a sine wave using line chart

30.Program to plot an algebraic expression: 10x + 14 using line chart


31.To plot multiple lines with different colors defined explicitly
32.To plot lines with different styles using plot() function.

33.To plot simple bar chart with orange in color.


34.To plot a bar chart horizontally.
35. To plot a pie plot for the total number of students enrolled for a
particular stream in a school.
36.To plot a pie chart for the popular languages among the students.
37.Create a table ‘student’ inside the database ‘school’ using python script
mode as the interface.

38. To check for the created table using Python


39.To add a new column ‘marks’ in the student table

40. To view the modified structure of the student table using Python
script.
41. To insert a record into the table student using python shell

42. To insert multiple record into the table ‘student’ through Python shell.
43. To display all the record of student table using Python shell.
44. Deleting records from the table student using Python module.

45. Program to calculate the value of sin(x) using its taylor series expansion up
to n terms.
46. Program to implement all basic operations of a Stack, such as adding
element, removing element, displaying the stack elements using lists.
47. Program to display unique vowels present in the given word using Stack.
48. To calculate power of an inputted number using recursion.

49. Program for EMI calculator

50. Program to insert list data in CSV file.


51. Program to read data from CSV file.

52. Program to write dictionary data in CSV file.


53. Program to write nested list data in CSV file.
54. Program to create calculator.
55. Create a Django project for a table of details.
56. Program to create a Django project using GET and POST
method.

You might also like