Python Program To Generate Pattern 3
Write Python Program To Generate Pattern 3
# Write Python Program To Generate Pattern 3 n = 3 m = 6 i = 1 while(i <= n): j = 1 while(j <= m): print('*', end = ' ') j = j + 1 print('') i = i + 1
Output:
* * * * * *
* * * * * *
* * * * * *