Skip to content

Instantly share code, notes, and snippets.

@robiot
Created May 4, 2021 14:25
Show Gist options
  • Save robiot/e07291b8290cafdd2d59a00cb9a436be to your computer and use it in GitHub Desktop.
Save robiot/e07291b8290cafdd2d59a00cb9a436be to your computer and use it in GitHub Desktop.

Revisions

  1. robiot created this gist May 4, 2021.
    1 change: 1 addition & 0 deletions pythonheart.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    text = "cute"; print('\n'.join([''.join([(text[(x-y) % len(text)] if ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 <= 0 else ' ') for x in range(-25,30)]) for y in range(30,-30,-1)]))