Python Practice Questions
Pattern Questions
1. Full Pyramid Pattern
2. Inverted Pyramid Pattern
3. Diamond Pattern
4. Floyd’s Triangle
5. Pascal-like Pattern
For Loop Questions
1. Check if a number is prime
2. Print Fibonacci series
3. Find largest element in list without max()
4. Count vowels in a string
5. Print all divisors of a number
While Loop Questions
1. Check Armstrong number
2. Print all prime numbers till n
3. Take input until user enters 0
4. Guess the number game
5. Find GCD of two numbers
Nested Loop Questions
1. Number pattern (1, 2 2, 3 3 3...)
2. Pyramid pattern using nested loops
3. Matrix transpose
4. Matrix multiplication
5. Find duplicates in list using nested loops
Bonus Questions
1. Binary pattern (1, 0 1, 1 0 1...)
2. Palindrome pattern
3. Spiral matrix printing
4. Find pairs with given sum
5. Alphabet pattern