We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Pu++
Jump to navigation
Jump to search
Pu++ is an extension of Pu that adds the U instruction.
Commands
| Command | Description |
|---|---|
p |
Prints Hello, world!
|
[ |
Prints pu
|
] |
Prints up
|
u |
Prints !dlrow ,olleH
|
U |
Prints uP
|
| Any other character | Prints Pu
|
Implementation
Python
for c in input():
print({
"p": "Hello, world!",
"[": "pu",
"]": "up",
"u": "!dlrow ,olleH",
"U": "uP"
}.get(c, "Pu"))
Examples
Hello, world!
p
Hello, world! backwards
u
idk
puPU[]