Skip to main content
added 26 characters in body
Source Link

AWK, 7171 68 bytes

BEGIN{a="***";for(;i<7;i++;++i<8;){print(i<2||i>4i<3||i>5?" "a" ":i~3i~4?a"0"a:a"*"a)}} 

Try it online!Try it online!

Removed some curly braces and used for(;++i<8;) instead of for(;i<7;i++). Could also use END instead of a BEGIN (-2 bytes; prints the output when the process is killed) but I suspect there are cleverer solutions to be found than this.

AWK, 71 bytes

BEGIN{a="***";for(;i<7;i++){print(i<2||i>4?" "a" ":i~3?a"0"a:a"*"a)}} 

Try it online!

Could also use END instead of a BEGIN (-2 bytes; prints the output when the process is killed) but I suspect there are cleverer solutions to be found than this.

AWK, 71 68 bytes

BEGIN{a="***";for(;++i<8;)print(i<3||i>5?" "a" ":i~4?a"0"a:a"*"a)} 

Try it online!

Removed some curly braces and used for(;++i<8;) instead of for(;i<7;i++). Could also use END instead of a BEGIN (-2 bytes; prints the output when the process is killed).

Source Link

AWK, 71 bytes

BEGIN{a="***";for(;i<7;i++){print(i<2||i>4?" "a" ":i~3?a"0"a:a"*"a)}} 

Try it online!

Could also use END instead of a BEGIN (-2 bytes; prints the output when the process is killed) but I suspect there are cleverer solutions to be found than this.