Python Interview Quetions
Python Interview Quetions
Python Basics
**
***
****
14. Design the following pattern:
23
456
15. Wap to find out sum of all the even numbers between 1….50
16. Design the following pattern
44
666
8888
3. Python Strings
4. Lists
Tuple
1. What is a tuple? How is it different from a list?
2. How do you access elements of a tuple?
3. Can a tuple contain mutable elements? Explain.
4. How can you convert a list to a tuple and vice versa?
5. Can we edit tuple? If yes then how?
Set
6. Functions