Python Exercises Collection
1. Rectangle Area Calculator: Compute area from width and height.
2. Swap Two Variables without using a third variable.
3. Check if a number is positive, negative, or zero.
4. Count words in a sentence.
5. Sum only even numbers in a list.
6. Remove duplicates from a list without using set().
7. Reverse a string using a loop.
8. Generate a list of squares up to n.
9. Count character frequency in a string.
10. Matrix addition (2x2 or 3x3).
11. Read a text file and count lines, words, and characters.
12. Write a function that returns the maximum of three numbers.
13. Create a function that checks if a number is prime.
14. Write a function that returns the factorial of a number.
15. Create a function that counts vowels in a string.
16. Write a function that takes a list and returns only the unique elements.