In this video we learn how to print pattern in python easily and in few lines. I will continue this video series for you keep supporting me thank you.
Telegarm channel link-:
https://t.me/CoREcoder456
###########################
source code-:
n=int(input('enter the number-:'))
print(' '*(n+(n-1)) + ' *')
for i in range(1,n+1):
print(' '*(n-i) + ' *'*i + ' *'*i)
for j in range(n,0,-1):
print(' '*(n-j) +' *'*j +' *'*j)
print(' '*(n+(n-1)) + ' *')
#######################################
Right angle triangle pattern-
https://www.youtube.com/watch?v=ONut_...
Isosceles Triangle pattern-:
• Python Pattern 01 || Isosceles Triangle pa...
Nesta página do site você pode assistir ao vídeo on-line Python Pattern 02 || Kite Pattern using Python || Python Class 11 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário CoREdcoder 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 360 vezes e gostou 17 espectadores. Boa visualização!