#2 | Program to print Full Triangle Pyramid pattern using an asterisk (star) in Tamil
Вставка
- Опубліковано 4 вер 2024
- Program to print Full Triangle Pyramid pattern using an asterisk (star) in Tamil
Accept the number rows user want to print in the pattern.
Iterate those number using outer for loop to handle the number of rows.
Inner loop to handle the number of columns. Inner loop iteration depends on the values of the outer loop.
Print start, number, asterisk, Pyramid and diamond pattern using the print() function.
Add a new line after each row, i.e. after each iteration of outer for loop so you can display pattern appropriately.
c tutorial link - • C Programming Tutorial...
oops link - • Learn Object Oriented ...
html5 link - • 1# Introduction to HTM...
css3 link - • PART-1 INTRODUCTION TO...
javascript link - • PART-1 INTRODUCTION TO...
python link • #1 - Python Tutorial i...
c tricks - • ADD TWO NUMBERS WITHOU...
c interview questions - • Find The Output Of the...
sample program - • HOW TO WRITE C PROGRAM...
c++ program - • PART-01 INTRODUCTION T...
vb6 tutorial - • Visual Basic 6 Tutoria...
__
like our face book page..
/ santratechspot
--------------------------------------------------------------------------------
send request our channel official facebookprofile...
/ santra.techspot.5
---------------------------------------------------------------------------------
#santratechspot #python #examples
Thalaivaa unnala than nan python kathukitten nee nalla irukkanum🎉
thanks nanba really very happy to see your comment
Nice video but improve ur audio quality
ok sure
Program good. But full explanation vennum. Sariya puriyala loop
if(program==satisfied):
print("Thank You ")
else:
print("no comments")
o/p:
Thank you
sema bro tnx...
Super bro...
def star(rows):
for i in range (1,rows+1):
print(" " * (rows-i)+"*" * (2*i-1))
#Main program
number of rows = 5
star(number of rows)
Program to print star pyramid in python
Instead of this
Rows=int(input("Enter yr no:"))
For x in range(1,Rows+1):
For y in range(1,Rows+1,-x):
Print("", end='')
For z in range(1,x+1):
Print("*",end=)
Print()
Keep it up bro
tnx
Superb bro😊
tnx
Enna app solluga bro 🙏
Bro last la "space" Varum bro
Bro Ida programla eppadi bro numbers print pannaum bro
number patternku already namma channel video iruku bro check panni parunga