justbrowsing
  • Member for 6 years, 6 months
  • Last seen more than a month ago
31 answers
35 votes
6k views
Draw an ASCII Lightning Bolt
3 votes

Awk, 101+8 bytes 101 characters, plus 8 for -v n=$1 to get integer from shell. '{l="\\ \\";print"__\n"l"\n "l;for(i=1;i<n;++i)print"__"l"\n\\ __\\\n "l}END{print" "l"\n \\/"}' New to this SE ...

View answer