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
On this page of the site you can watch the video online code 02 -Hollow Square Pattern | Star Patterns Using Python | techienik with a duration of hours minute second in good quality, which was uploaded by the user niknook 19 February 2022, share the link with friends and acquaintances, this video has already been watched 27 times on youtube and it was liked by 1 viewers. Enjoy your viewing!