Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题几乎与如何在 python 中制作 x 的三角形?但我想知道如何使它成为左手边三角形?
哈哈!这个怎么样(Py3):
for i in range(1, 6): print('x'*i)