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
Auf dieser Seite können Sie das Online-Video code 02 -Hollow Square Pattern | Star Patterns Using Python | techienik mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer niknook 19 Februar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 27 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!