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 ❤❤❤❤❤❤
@pnatehcramuk4 ай бұрын
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 Жыл бұрын
Thanks you dear jaspreet sing sir from Pakistan ❤❤🇵🇰🇵🇰long live for jaspreet sing sir from
@simonkachepa446510 ай бұрын
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 Жыл бұрын
Keep the good work going sir ❤
@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 Жыл бұрын
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 Жыл бұрын
Please keep it going....
@hadideyal937711 ай бұрын
Thank's sir
@mamtasaw2331 Жыл бұрын
Sir can you upload html and css Playlist please 🙏
@NavadeepPujari2 ай бұрын
super
@Thekingslayer-ig5se Жыл бұрын
Much useful one
@justvibe-un8db9 ай бұрын
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.
@walida41519 ай бұрын
me too
@walida41519 ай бұрын
i just got it. Put a space between the quotation marks in the "end". Example print (end= ' ')