Amo gus
Jump to navigation
Jump to search
Amo gus is a programming challenge created by user:tommyaweosme for meow.
What it is?
An amo gus program does this:
- asks for input
- returns "gus" if input is "amo"
- returns "amo" if input is "gus"
- otherwise, do nothing
For programs like brainfuck, amo can be shortened into a, and gus can be shortned into g.
Implementations
dolfins grace
>?99999999997++++++++++-\ <^^^"amo"!/ \"sug"^^^<
///
/amo/GUS//gus/AMO/
DUP
```111=[103,117,115,][97,109,111,]?
Batch
@echo off set /p amogus=Input? if %amogus% EQU amo echo gus if %amogus% EQU gus echo amo pause>nul
Wasaya Lua dialect
a = io.read() if a == "amo" then print("gus") elseif a == "gus" then print("amo") else print("") end
This is also a Polyglot -- It works in Lua, too.