0
How to crate triangle with stars
How to create a triangle pattern in python with stars
2 ответов
0
Use print() and print the *
0
print('\n'.join([' ' * ((10 - i) // 2) + '*' * i for i in range(1, 11, 2)]))
How to create a triangle pattern in python with stars