+ 2
How to print pattern side to each other (parallel for loops ) ?
expected output : * ***** ** **** *** *** **** ** ***** * My attempt : https://code.sololearn.com/cJAZ12S1nnN3/?ref=app
3 Antworten
+ 3
Ratnapal Shende This can be done very easily in Python using generators, take a look at this:
https://code.sololearn.com/cET74X6ksU11/?ref=app
+ 1
NotHuman well your code is good but what I want, to print patterns using my nested for loops..
I have patterns of ABCDEF..., Z
so we can't use your logic to print all patterns..
what we need to find is that how to excute for loops parallely of each pattern and print output horizontaly..
+ 1
Ratnapal Shende how does your abcdef... pattern looks like?