This repository contains the code which I've written in my Python Lab during Engineering.
- Find the length of a tuple - q1.py
- Concatenate two tuples - q2.py
- Access an element in a tuple - q3.py
- Count the number of occurrences of an element in a tuple - q4.py
- Check whether an element exists in a tuple or not - q5.py
- Find common elements between two tuples - q6.py
- Find the sum of all elements in a tuple - q7.py
- Merge two tuples and remove duplicates - q8.py
- Check whether a number is even or odd - q1.py
- Print all even and odd numbers from 1 to 100 separately - q2.py
- Print all the prime numbers between 1 and 100 - q3.py
- Check whether a given number is prime or not - q4.py
- Find factorial of a number n - q5.py
- Print Fibonacci series up to n terms - q6.py
- Check whether a number is palindrome or not - q7.py
- Move all the duplicate values to the end of the list - q8.py
- Compare two equal size lists and print the first index where they differ - q9.py
- Increment the elements of list with a specified number - q10.py
- Check whether a number is present in the list or not and print the position - q11.py
- Replace all entries in the list with 10 that are greater than 7 - q12.py
- Display options for inserting or deleting elements in a list - q13.py