0

Is it necessary to use functions to draw a payramid in python?

19th Jan 2020, 8:37 PM
Yusof
Yusof - avatar
5 Respuestas
+ 1
19th Jan 2020, 8:43 PM
Yusof
Yusof - avatar
0
It's not necessary, I guess you could just use a bunch of print statements, but a function can be reused over and over again, with less lines.
19th Jan 2020, 8:42 PM
Jianmin Chen
Jianmin Chen - avatar
0
I think all you need is a for loop.
19th Jan 2020, 9:07 PM
HonFu
HonFu - avatar
0
HonFu thank you for your trying helping me.
19th Jan 2020, 9:10 PM
Yusof
Yusof - avatar
0
You can try to figure it out and show us!
19th Jan 2020, 9:15 PM
HonFu
HonFu - avatar