In this video you learn how to write code of pyramidal pattern in python Programming
Pattern 4
*
*
code:
num = int(input("Enter the number of rows "))
for i in range(0,num):
for j in range(0,num-i-1):
print(end=" ")
for j in range(0,i+1):
print("*",end=" ")
print()
pattern 5
*
* *
code:
num = int(input("Enter the number of rows "))
for i in range(0,num):
for j in range(0,num-i-1):
print(end=" ")
for j in range(0,2*i+1):
print("*",end=" ")
print()
Nesta página do site você pode assistir ao vídeo on-line Python Programming - Triangular or Pyramidal shape star Pattern Program duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coding Cup 29 Junho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 49 vezes e gostou 4 espectadores. Boa visualização!