Python Pattern 01 | Tutorial in Hindi | Easy to Understand

Insight Educator
Youtube
Related Topic
:- Python

This video covers the easiest way to understand star pattern in python programming language. In this Video Tutorial you will learn to print star "*" in right angle triangle shape with each step explained clearly. 1) In order to print star pyramid patterns in python you have to use two for loops. 2) In this program that prints pattern contains two for loops 3)The first loop with create the steps or rows and second loop create internal stars or columns. There is difference in print statement for python2 and python3. Remember one thing that in python 3 you write print in the given way: print("*',end="") in python2 you will write: print "*"

Comments