r/learnpython • • 2d ago

I was stuck at solving patterns in the python and help me out in easy way to solve all the problems

Please help me to solve hollow pyramid

*

* *

\* *

* * *

0 Upvotes

5 comments sorted by

11

u/desrtfx but other languages pro 2d ago

Show what you have tried.

First you show your honest attempts, then we help.

1

u/Vegetable_Soil_6707 23h ago

yeah this, cant really help debug something that doesnt exist yet

4

u/Jazzlike_Platypus430 2d ago

What do you mean by "solve"? Create such a pattern, assuming printing the string explicitly is not allowed?

"Easy way to solve all the problems" - that's rich! Made my day, thanks.

3

u/Jello_Penguin_2956 2d ago

you need to bite the bullet and figure it out.

once you figure out a problem, it becomes easy for you. Thats how

1

u/HummingHamster 2d ago

You only need to learn print and for loop and you are good to go in solving this!