Skip to main content
1 of 2
12Me21
  • 6.7k
  • 1
  • 22
  • 40

#SmileBASIC, 74 bytes FOR I=0TO N-1P NEXT FOR I=N-2TO.STEP-1P NEXT DEF P?" "(N-I);" "*(N+I)END Adds a leading and trailing space.

These "hexagons" look horrible when the characters have the same width and height...

12Me21
  • 6.7k
  • 1
  • 22
  • 40