众所周知,今天是选举日!
今天的任务是,在有输入的情况下打印选票。
如果输入为Hillary Clinton
,则打印:
Hillary Clinton ===-----===>
Donald Trump === ===>
____________ === ===>
但是,如果输入为Donald Trump
,则打印:
Hillary Clinton === ===>
Donald Trump ===-----===>
____________ === ===>
如果还有其他问题,请将其写在第三行:
Hillary Clinton === ===>
Donald Trump === ===>
Oliver Ni ===-----===>
(从技术上讲,我还不到18岁...)
请记住,这是code-golf,所以字节最少的代码将获胜。
8
没有“以上选项均无”?:)
—
Kritixi Lithos
@KritixiLithos Hm,nah ...
—
Oliver Ni
“其他”名称上的最大长度是多少?(您的示例中的第一个等号前有18个字符)
—
链接吴
是区分大小写还是不区分大小写?从测试用例来看,我目前认为比较敏感。
—
凯文·克鲁伊森
@KritixiLithos,但这将操纵系统!
—
OldBunny2800 '16