code 02 -Hollow Square Pattern | Star Patterns Using Python | techienik

Pubblicato il: 19 febbraio 2022
sul canale di: niknook
27
1

Star_Pattern - Part 2 in Python | techienik

In this video tutorial, I have shown how to print the stars in hollow square format .
-----------------------------------------------------------------------------------------------------------------
The hollow square pattern is a bit more difficult pattern program than a simple square because here you will have to deal with spaces within the square.
.
To create a hollow square pattern, we will again run 2 nested for loops and use conditional statements. The outer loop will run for a number of times as the size of the square. The inner loop will print only * in the first and last row and in other rows print * only at the first and last position and in the middle print spaces.
.
You will get the python code that I have used in this tutorial in Github. Before getting into the source code file, check out other videos in my channel which will be very much useful to you .
.
📸 Instagram :   / techie_nik  
📝 Github : https://bit.ly/3sydgPM
.
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content!
.
Best Books for Python
https://amzn.to/3GE5B7n
https://amzn.to/3BjoWtM
.

3 Books You Should Read
📈Psychology of Money: https://amzn.to/3uqIZoA
🌟Atomic habit: https://amzn.to/34dr1eJ
👀Subtle Art of Not Giving a F: https://amzn.to/3JaXtx5
💼Rework: https://amzn.to/3B038Db
.
MY FAVOURITE GEAR:
💻 Hp Pavilion: https://amzn.to/3grBTb7
📺 LG 29' Ultrawide Monitor: https://amzn.to/3J8btYc
🎥 Sony ZV1: https://amzn.to/3gnJCHn
🎙 Blue Yeti Mic: https://amzn.to/3HyuYbZ
⽴ Tripod Stand with Ring Light: https://amzn.to/3J4BwQ6
🎧 Sony Headphone: https://amzn.to/3os6bPE
🖱 Zebronics Mouse: https://amzn.to/34dBzKN
💺 Ergonomic Office Chair: https://amzn.to/3oOCKHJ
⌨️ My Keyboard: https://amzn.to/3Bw5qtP
💻 Stand : https://amzn.to/3CIEzLM
.
✨ Hashtags ✨
#youtube #python #business


In questa pagina del sito puoi guardare il video online code 02 -Hollow Square Pattern | Star Patterns Using Python | techienik della durata di ore minuti seconda in buona qualità , che l'utente ha caricato niknook 19 febbraio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 27 volte e gli è piaciuto 1 spettatori. Buona visione!