0

How can i create a triangular pyramid in python?

* * * * * * * *

3rd Aug 2021, 11:17 AM
Hamid Bigga
Hamid Bigga - avatar
2 Respuestas
+ 1
a=10 for i in range(a): print(" "*(a-i-1),end="") print("* "*(i+1)) more https://code.sololearn.com/cnfF5nUXN3RR/#py
3rd Aug 2021, 11:42 AM
Pariket Thakur
Pariket Thakur - avatar
0
a=10 for i in range(a): print(" "*(a-i-1),end="") print("* "*(i+1))
3rd Aug 2021, 11:51 AM
Abhay
Abhay - avatar