r/badcode • • Apr 21 '21

python My friend is learning python in his Comp Sci class and he wanted to draw diamonds....

Post image
1.1k Upvotes

110 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Apr 22 '21

Put it in a code block. On old reddit, new reddit with markdown mode, or mobile, indent it with 4 spaces:

 print("    **\n   ****\n  ******\n   ****\n    **")

1

u/[deleted] Apr 22 '21

Ah thx