Nested For Loop in Python - Exercise Questions
1. Print the following pattern:
**
***
****
*****
2. Print a multiplication table from 1 to 10 using nested for loops.
3. Print a square pattern with numbers from 1 to n in each row and column.
4. Create a pyramid pattern using numbers.
5. Print a right-angled triangle pattern of alphabets (A, B, C, ...).
6. Write a program to print all pairs of numbers between 1 to 5.
7. Print a pattern of decreasing stars:
*****
****
***
**
8. Print the Pascals Triangle using nested loops.
9. Generate a checkerboard pattern of size 8x8 using stars and spaces.
10. Print all prime numbers between 1 to 100 using nested loops.