MyOwnLanguage
Jump to navigation
Jump to search
MyOwnLanguage is an esoteric programming language invented by CGCC User Ilmari Karonen in the standard loopholes post.
Instructions
x: read a sequence of numbers, split them into groups of three, and print the last numbers of those groups where the second number is less than the first
Interpreter in Python 3
def MyOwnLanguage():
iseq = tuple(map(int, input().split()))
seq = tuple(zip(iseq[::3], iseq[1::3], iseq[2::3]))
for a, b, c in seq:
if b < a:
print(c)