Recap
Recap
Intermediate Level
6. Write a function that returns the maximum number from a list.
7. Use a list comprehension to find all numbers divisible by 3 in a list.
8. Create a dictionary comprehension that maps numbers to their
squares.
9. Write a function that checks if a given key already exists in a
dictionary.
10. Implement a class Rectangle with methods to compute area and
perimeter.
Advanced Level
11. Using NumPy, create a 3x3 matrix with values ranging from 0 to 8.
12. Write a pandas script to read a CSV file into a DataFrame and print
its head.
13. Create a NumPy array and append values to it.
14. Write a Python class Circle that uses property decorators for
diameter and area.
15. Use pandas to create a DataFrame from a dictionary and add a new
column.
16. Implement a function that uses variable-length arguments to sum
values.
17. Create a class BankAccount that supports deposit and withdrawal
operations.
18. Using NumPy, compute the dot product of two arrays.
19. Write a function in Python to check if a string is a palindrome.
20. Using pandas, select rows from a DataFrame based on column
values.
Test Your self (Quiz : 40 Minutes + 5 Packaging)
Basic Level
21. Print all odd numbers between 1 to 20 using a loop.
22. Swap the values of two variables.
23. Find the length of a string without using built-in functions.
Intermediate Level