Tweeted twitter.com/StackCodeGolf/status/796695553329549317
2 edited tags
| link
1
source | link

Print a ballot!

As you all know, today is election day!

Your task today is to print out a ballot, given an input.

If the input is Hillary Clinton, print:

Hillary Clinton   ===-----===>
Donald Trump      ===     ===>
____________      ===     ===>

However, if the input is Donald Trump, print:

Hillary Clinton   ===     ===>
Donald Trump      ===-----===>
____________      ===     ===>

If it is something else, write it on the third line:

Hillary Clinton   ===     ===>
Donald Trump      ===     ===>
Oliver Ni         ===-----===>

(Technically, I'm not 18 yet...)

Remember, this is , so the code with the fewest bytes wins.