F!--
Jump to navigation
Jump to search
F!-- is the same as F! except that it has no char output, and therefore completely equivalent to Deadfish. This article is not a stub.
Commands
| F!-- | F! | Deadfish |
|---|---|---|
F!
|
F!
|
i
|
U!
|
U!
|
d
|
C!
|
C!
|
s
|
K! (prints integer)
|
K! (prints chracter)
|
o (prints integer)
|
Examples
XKCD Random Number
F! F! F! F! K!
Interpreter
Python interpreter:
import sys
c=sys.stdin.read()
d=c.split()
x=0
for i in d:
if i=='F!':
x+=1
if i=='U!':
x-=1
if i=='C!':
x*=x
if i=='K!':
print(x)
x%=256