Perl Weekly Challenge 124: Happy Women Day

by Abigail

Challenge

Write a script to print the Venus Symbol, international gender symbol for women. Please feel free to use any character.

    ^^^^^
   ^     ^
  ^       ^
 ^         ^
 ^         ^
 ^         ^
 ^         ^
 ^         ^
  ^       ^
   ^     ^
    ^^^^^
      ^
      ^
      ^
    ^^^^^
      ^
      ^

Solution

By far the most trivial Perl Weekly Challenge I've done so far. We just have to print a fixed string.

Perl

print << '--';
    ^^^^^
   ^     ^
  ^       ^
 ^         ^
 ^         ^
 ^         ^
 ^         ^
 ^         ^
  ^       ^
   ^     ^
    ^^^^^
      ^
      ^
      ^
    ^^^^^
      ^
      ^
--

Find the full program on GitHub.

Other Languages

We also have trivial solutions in AWK, Bash, Basic, bc, Befunge-93, C, Cobol, Csh, Erlang, Forth, Portran, Go, Java, Lua, m4, MMIX, Node.js, OCaml, Pascal, PHP, PostScript, Python, R, Rexx, Ruby, Scheme, SQL, and Tcl.


Please leave any comments as a GitHub issue.