graphics.butterfly_pattern ========================== .. py:module:: graphics.butterfly_pattern Attributes ---------- .. autoapisummary:: graphics.butterfly_pattern.n Functions --------- .. autoapisummary:: graphics.butterfly_pattern.butterfly_pattern Module Contents --------------- .. py:function:: butterfly_pattern(n: int) -> str Creates a butterfly pattern of size n and returns it as a string. >>> print(butterfly_pattern(3)) * * ** ** ***** ** ** * * >>> print(butterfly_pattern(5)) * * ** ** *** *** **** **** ********* **** **** *** *** ** ** * * .. py:data:: n