0% found this document useful (0 votes)
4 views2 pages

Python Lab Model Quest

The document contains a list of 28 Python programming tasks, including checking for prime numbers, calculating factorials, generating Fibonacci series, and working with data structures like lists, tuples, and dictionaries. It also includes tasks for file handling, exception handling, and string manipulation. Each task is aimed at practicing different programming concepts and techniques in Python.

Uploaded by

selvam02022007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Python Lab Model Quest

The document contains a list of 28 Python programming tasks, including checking for prime numbers, calculating factorials, generating Fibonacci series, and working with data structures like lists, tuples, and dictionaries. It also includes tasks for file handling, exception handling, and string manipulation. Each task is aimed at practicing different programming concepts and techniques in Python.

Uploaded by

selvam02022007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

write a python programs to Check if a number is prime


2. write a python programs to Find factorial of a number
3. write a python programs to Generate Fibonacci series
4. Write a Python program to check whether a given number is even
or odd.
5. Write a Python program to find the largest among three numbers
entered by the user.
6. Write a Python program to find the factorial of a given number
using a loop.
7. Write a Python program to check whether a given string is a
palindrome or not.
8. Write a Python program to count the number of vowels in a given
string.
9. Write a Python program to create a list of numbers and find the
sum of all elements in the list.
10. Write a Python program to find the maximum and minimum
elements in a list.
11. Write a Python program to define a class called Student with
attributes like name and marks, and display the details of the
student.
12. Write a Python program to create a file, write data into it, and
read the contents from the file.
13. Write a python program to create, append and remove lists in
python
14. Write a program to demonstrate working with tuples in python.
15. Write a program to demonstrate working with dictionaries in
python
16. Write a python program to find largest of three numbers
17. Write a python program to convert temperature to and from
Celsius to Fahrenheit
18. Write a python programs to show Exception Handling in tasks
19. Write a python program to create, concatenate and print a
string and accessing substring from a given string.
20. Write a python script to print the current date in following
format “Sun May 202:26:23 IST 2017”
21. Write a program to demonstrate working with tuples in python
22. Write a program to demonstrate working with dictionaries in
python
23. Develop a Python program to read two numbers as input and
Swap the Two Numbers (using three variables)
24. Write a python program to get the 5 subjects marks and display
the grade for the same.
25. Develop a Python program to swap two numbers (using two
variables)
26. Write a python program to find the sum of first ‘n’ natural
number
27. Develop a Python program to find the biggest of 3 numbers
using nested if...else Statement
28. Write a python program to create, append and remove lists in
python

You might also like