DEV Community

Python code to create a butterfly pattern using asterisks

Codes With Pankaj on February 10, 2024

# Butterfly Pattern in Python # Website: @codeswithpankaj def butterfly_pattern(n): for i in range(n): for j in range(i + 1): ...
Collapse
 
jocomvag profile image
Jocom Vag