Loops Practice Ques 30 in Python | How to Design Following Pattern ********* ******* ***** *** *
Hello Everyone , Aaj ki is video hum Loops ke based pe ek aur Pattern Problem ko Dekhenge jo ki hai
Write a program to display the following pattern:
*********
*******
*****
***
*
Agar ye Solution Aapko pasand Aaye to Like kare , Share kare aur Channel ko Subscribe kare.
@rkcodingbro
Thankyou...
//Sourcecode
a=int(input("Enter no of rows : "))
for i in range(a,0,-1):
for j in range(1):
print(" "*(a-i),end="")
for j in range(1):
print("*"*(2*i-1),end="")
print()
Видео Loops Practice Ques 30 in Python | How to Design Following Pattern ********* ******* ***** *** * канала R.K. Coding Bro
Write a program to display the following pattern:
*********
*******
*****
***
*
Agar ye Solution Aapko pasand Aaye to Like kare , Share kare aur Channel ko Subscribe kare.
@rkcodingbro
Thankyou...
//Sourcecode
a=int(input("Enter no of rows : "))
for i in range(a,0,-1):
for j in range(1):
print(" "*(a-i),end="")
for j in range(1):
print("*"*(2*i-1),end="")
print()
Видео Loops Practice Ques 30 in Python | How to Design Following Pattern ********* ******* ***** *** * канала R.K. Coding Bro
Комментарии отсутствуют
Информация о видео
3 июня 2025 г. 23:33:23
00:04:34
Другие видео канала