Nested Loops and Patterns in Python

  Рет қаралды 19,304

Algovibes

Algovibes

Күн бұрын

Пікірлер: 43
@mrboyban
@mrboyban 2 жыл бұрын
Amazing stuff, clear and concise. Spent hours to understand how this nested for loops. You did it brilliant! Thanks so much
@Algovibes
@Algovibes 2 жыл бұрын
Thank you so much for your feedback!
@raghulsivaraj3244
@raghulsivaraj3244 3 жыл бұрын
Hey, Man watched more than half of your python tutorial and some Algo projects of you it is very easy to follow along than many other videos that I watched! Great Explanation kudos to you! you deserve more subscribers! keep going on Love from INDIA!
@Algovibes
@Algovibes 3 жыл бұрын
Thank you so much for your kind words and your support :-) I really appreciate having you on board!
@rashenkoshi93
@rashenkoshi93 3 жыл бұрын
Dude, you're amazing keep this amazing work, especially you are better than a teacher when it comes to explaining, awesome man
@Algovibes
@Algovibes 3 жыл бұрын
Thank you so much. Truly appreciate your kind words :-)
@jesusfajardo2357
@jesusfajardo2357 3 жыл бұрын
Finally I can understand how that works. I love how you explain step by step the exercise. Thank you!
@Algovibes
@Algovibes 3 жыл бұрын
Thank you for your kind comment :-)
@chad6878
@chad6878 3 жыл бұрын
very helpful and well summarised, clearly explained everything and made it easy to follow along, thank you :)
@Algovibes
@Algovibes 3 жыл бұрын
Thank you for your appreciative feedback. Means a lot to me. Very happy that it was helpful for you :)
@MertcanGuldu
@MertcanGuldu 11 ай бұрын
Your sounds like from the movie "The Dictator" lol . Thanks for video
@Algovibes
@Algovibes 4 ай бұрын
😆
@shahin2324
@shahin2324 3 жыл бұрын
Thanks for the video! This is a great explanation!!!
@Algovibes
@Algovibes 3 жыл бұрын
Thanks a lot for watching and your kind comment :-) Really appreciate it!
@rraul
@rraul 3 жыл бұрын
You are my favorite teacher. Thanks
@Algovibes
@Algovibes 3 жыл бұрын
Thanks mate. I really appreciate your comment :-)
@rraul
@rraul 3 жыл бұрын
@@Algovibes I have used nested loops in short time reversal strategy. To loop over portfolio size, formation months and hold months. So There are 4 arguments in reversal(). Thanks you, i have done it. Many thanks, man.
@Algovibes
@Algovibes 3 жыл бұрын
@@rraul awesome! I thank you for your support and I am more than happy you could extract value out of my stuff :-)
@Jonnny210
@Jonnny210 3 жыл бұрын
This also works but here is not the last for loop for i in range(4): for j in range(4-i): print(" ", end="") for j in range(i+i): print("*", end="") print("*")
@Algovibes
@Algovibes 3 жыл бұрын
Thanks for sharing!
@axelmori9284
@axelmori9284 3 жыл бұрын
Hey! Hope you are doing great. How can I practice nested loops in Jupiter?
@Therealhump
@Therealhump 3 жыл бұрын
Awesome! Just what I was looking for! No pun
@Algovibes
@Algovibes 3 жыл бұрын
Thanks for watching! Happy to hear that :-)
@girlinthemorgue
@girlinthemorgue 2 жыл бұрын
Hi i know you can also do a pyramid this way for i in range(1,6): for j in range(i): print(‘*’, end=‘ ‘) print(‘ ‘) But I don’t understand why you need to print(‘ ‘) at the end. I’d appreciate it if you could help thanks a lot
@Algovibes
@Algovibes 2 жыл бұрын
It's simply to avoid that you are getting in the next line. By default when you print you are landing in the next line.
@ExcelTutorials1
@ExcelTutorials1 2 жыл бұрын
very helpful thank you
@Algovibes
@Algovibes 2 жыл бұрын
Happy to read. Thanks for watching mate
@deepanair4852
@deepanair4852 3 жыл бұрын
Bro you are op. Thank you:)
@Algovibes
@Algovibes 3 жыл бұрын
YOU are for this comment. Thank you very much :-)
@lzaruis
@lzaruis 3 жыл бұрын
I finally get it THAAAANK YOUUUUU SOOOO MUCCCCH
@Algovibes
@Algovibes 3 жыл бұрын
I am very happy it was helpful :-) Thank you very much for your appreciative comment.
@mistic2836
@mistic2836 3 жыл бұрын
Man thank you so much
@Algovibes
@Algovibes 3 жыл бұрын
I'm honoured! Thank you very much for watching.
@Escko
@Escko 2 жыл бұрын
ty
@Algovibes
@Algovibes 2 жыл бұрын
:D welcome
@tenzinkalden3308
@tenzinkalden3308 2 жыл бұрын
print('THANKS BRO')
@Algovibes
@Algovibes 2 жыл бұрын
:D thanks for watching mate
@propnoise6188
@propnoise6188 3 жыл бұрын
thanks a lot!!
@Algovibes
@Algovibes 3 жыл бұрын
Thank you for watching :-) very glad it was helpful.
@rochanachowtkur
@rochanachowtkur 2 жыл бұрын
Doesn't work for me :(
@Algovibes
@Algovibes 2 жыл бұрын
Where do you have problems?
@nilsaha8021
@nilsaha8021 2 жыл бұрын
I think there are too many for loops for building the pyramid. the following codes do the same: n = int(input("Enter the row number: ")) for i in range(n): for j in range(n - i): print (" ", end ="") for k in range(2*i + 1): print("0", end="") print("")
@Algovibes
@Algovibes 2 жыл бұрын
Thx for sharing your approach!
Matrix calculations with Nested List comprehension in Python
12:51
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 946 М.
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 15 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,2 МЛН
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 7 МЛН
C++ Developer Learns Python
9:26
PolyMars
Рет қаралды 2,7 МЛН
Python Programming Series (Loops 4): Nested loops
14:45
Left Peel
Рет қаралды 166 М.
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 401 М.
Nested for Loop in Python
9:29
Neso Academy
Рет қаралды 21 М.
Python nested loops ➿
4:47
Bro Code
Рет қаралды 39 М.
#23 Python Tutorial for Beginners | Printing Patterns in Python
7:56
Nested loops in Python are easy ➿
5:35
Bro Code
Рет қаралды 294 М.
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 15 МЛН