0
How to crate triangle with stars
How to create a triangle pattern in python with stars
2 Antworten
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