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.

MyOwnLanguage

From Esolang
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)