+ 2
Can someone show an example of nested for loops?
5 Antworten
+ 6
Assuming you need help in c++ :
for(int i=1;i<=5;i++)
{
for(int j=1;j<=5;j++)
cout<<"Hello";
}
From now on , please specify the language you want help in.
+ 1
Python nested loops
for i in range(5):
for j in range(5):
print("*",end=' ')
print ()
+ 1
thanks guys!