What is the difference between mutable and immutable?
How can you delete a file in Python?
How to access an element of a list?
Discuss different ways of deleting an element from a list.
Write a code snippet to reverse an array.
What is pickling and unpickling in Python?
Which is faster, Python list or Numpy arrays, and why?
What is the difference between a Python list and a tuple?
What are Python sets? Explain some of the properties of sets.
What is the difference between split and join?
Explain the logical operations in Python.
Explain the top 5 functions used for Python strings.
What is the use of the pass keyword in Python?
What is the use of try and except block in Python?
Why does NumPy have huge popularity in the field of data science?
What is the difference between return and yield keywords?
What are lambda functions in Python, and why are they important?
What is the use of the ‘assert’ keyword in Python?
What is negative indexing?
What is docstring in Python?
What are args and *kwargs in Python?
OOPS Concepts
What is __init__() in Python?
What is monkey patching in Python?
What is the Python “with” statement designed for?
Why use else in try/except construct in Python?
What is the difference between merge, join and concatenate?
How do you identify and deal with missing values?
How can you replace string space with a given character in Python?
Given an integer n, return the number of trailing zeroes in n factorial n!
String segmentation
You are provided with a large string and a dictionary of the words. You have to
find if the input string can be segmented into words using the dictionary or
not.
Remove duplicates from sorted array
Find the missing number in the array
Define a lambda function, an iterator, and a generator in Python.