Python for Beginners | Python Pattern 1 121 12321

preview_player
Показать описание
Printing Pyramid pattern using Python Program.

or call us at +91-9347815104

-~-~~-~~~-~~-~-
Please watch: "LRU Cache (With Python Code) "
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Thank you, guys, you save me from depression

tintie
Автор

def pyramid():
odd=1
space=3
for i in range(1, 5):
k=0
for j in range(1, space+1):
print("", end="")
for j in range(1, odd+1):
if(j<=1):
k=k+1
else:
k=k-1
print(k, end="")
print()
odd=odd+2
space=space-1

ARMANKHAN-crqn
Автор

It is not working on python 3.7.4.
What to do now?

rimjhimsingh
Автор

Mam please upload the inverted part of same question
4321234
32123
212
1

himanshuraghuvanshi
Автор

Mam how can we make the variable space as a for loop

sophianedima
Автор

Please upload your code so that we can download it ❤️

devanshuthakkar
Автор

Your explanation is not so good !! Beginners will find it really difficult to understand your explanation ..

flame
Автор

I want this pattern with Coma s mam, please explain

ambatiharitha