python nested with code example
Example: java nested for loop
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 10; j++) {
System.out.println("*");
}
System.out.println("");
}
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 10; j++) {
System.out.println("*");
}
System.out.println("");
}