Python Special Programs - Full Pyramid of Stars

  Рет қаралды 9,155

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 16
@shivamchakrawarti8262
@shivamchakrawarti8262 Жыл бұрын
Excellence teaching style with excellence representation love you sir and neso academy for providing such great lectures in free of cost no one in KZbin showed such great representation except neso academy ❤❤❤❤❤❤
@pnatehcramuk
@pnatehcramuk 4 ай бұрын
rows = int(input("enter num of rows :")) for i in range(1,rows+1): for space in range(1,rows-i+1): print(" ",end=" ") for j in range(1,i+1): print("*",end=" ") print() for k in range(1,rows): for l in range(1,k+1): print(" ",end=" ") for m in range(rows-k,0,-1): print("*",end=" ") print()
@UsmanAliAli-od7eg
@UsmanAliAli-od7eg Жыл бұрын
Thanks you dear jaspreet sing sir from Pakistan ❤❤🇵🇰🇵🇰long live for jaspreet sing sir from
@simonkachepa4465
@simonkachepa4465 10 ай бұрын
Good day, Thank you so much for the teaching. However on this question, the given code will result in a right angled triangle with the right angle at the bottom right side. It is not giving those white spaces between the stars. Kindly check on that please. Thank you once again
@syedfarhan6554
@syedfarhan6554 Жыл бұрын
Keep the good work going sir ❤
@MrJzvoyeur
@MrJzvoyeur Жыл бұрын
def star_pyramid(base=5, reverse=False): """ """ for row in range(1, base+1, 1) if not reverse else range(base, 0, -1): print(f"{' ' * (base - row)}{'* ' * (row - 1) + '*'}")
@MrJzvoyeur
@MrJzvoyeur Жыл бұрын
def star_pyramid(base=5, reverse=False): rows = [f"{' ' * (base - row)}{'* ' * (row - 1) + '*'} " for row in (range(1, base+1, 1) if not reverse else range(base, 0, -1))] print(rows)
@HMOsman-ml9qp
@HMOsman-ml9qp Жыл бұрын
Please keep it going....
@hadideyal9377
@hadideyal9377 11 ай бұрын
Thank's sir
@mamtasaw2331
@mamtasaw2331 Жыл бұрын
Sir can you upload html and css Playlist please 🙏
@NavadeepPujari
@NavadeepPujari 2 ай бұрын
super
@Thekingslayer-ig5se
@Thekingslayer-ig5se Жыл бұрын
Much useful one
@justvibe-un8db
@justvibe-un8db 9 ай бұрын
sir i tried this but for me it's not including space, it runs without leaving space . i had checked the code for multiple times.
@walida4151
@walida4151 9 ай бұрын
me too
@walida4151
@walida4151 9 ай бұрын
i just got it. Put a space between the quotation marks in the "end". Example print (end= ' ')
@Amit_0
@Amit_0 11 ай бұрын
They written code was not running
Python Special Programs - Right Pyramid of Stars
15:33
Neso Academy
Рет қаралды 10 М.
Python Special Programs - Right Triangle Number Pattern
17:40
Neso Academy
Рет қаралды 8 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 73 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 129 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 63 МЛН
Python Special Programs - Separating Even & Odd Numbers
11:59
Neso Academy
Рет қаралды 10 М.
Machine Code Explained - Computerphile
20:32
Computerphile
Рет қаралды 123 М.
Python Special Programs - Multiplication Table Pattern
15:37
Neso Academy
Рет қаралды 10 М.
Python Special Programs - Pascal's Triangle
20:09
Neso Academy
Рет қаралды 14 М.
Harvard CS50’s Artificial Intelligence with Python - Full University Course
11:51:22
you will never ask about pointers again after watching this video
8:03
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,5 МЛН
9 HOURS of Python Projects - From Beginner to Advanced
9:20:00
Tech With Tim
Рет қаралды 1,1 МЛН
Python Special Programs - Fibonacci Sequence
16:12
Neso Academy
Рет қаралды 10 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 73 МЛН