Jak zrobić wzór w Pythonie w jednej linii
print("\n".join(str(ele) for ele in [" ".join(str(e) for e in ["*" for _ in range(i+1)]) for i in range(10)]))
Lonely Louse
print("\n".join(str(ele) for ele in [" ".join(str(e) for e in ["*" for _ in range(i+1)]) for i in range(10)]))