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.

User:Cordership/Sandbox

From Esolang
Jump to navigation Jump to search

yay a sandbox Simpl Simpl Simpl Simpl Simpl Simpl User:Cordership/List of users from both Esolang and ConwayLife forums

Random Sorting Hat Ceremony in Python

n = input()
import random
t = random.randint(1, 5)
if t == 1:
    print("GRYFFINDOR!")
if t == 2:
    print("SLYTHERIN!")
if t == 3:
    print("RAVENCLAW!")
if t == 4:
    print("HUFFLEPUFF!")

jsdjadoisjofcjakiszivhcnsdhnvjbnjbzsdcbnvhxdncvsdnnnksznkjc./.o./.r./.d./.e./.r./.s./.h./.i./.p(1and0nlycordershippr) (talk) 12:04, 20 September 2026 (UTC)dhfzsdfhcudhbuczsdhuchgyusdfczus uhh

thing

def f(x):
  if x == 1:
    return []
  else:
    return [f(x - 1), f(x - 1)]
n = int(input())
t = f(n)
k = "t"
for i in range(n):
  exec("print(" + k + i * "[0]" + ")")

What books do you desperately want to buy?

For me, it’s Douglas Hofstadter’s book “Gödel Escher Bach: An Eternal Golden Braid”. —c./.o./.r./.d./.e./.r./.s./.h./.i./.p(1and0nlycordershippr) (talk) 02:19, 11 October 2026 (UTC)

s1:
    v0>1R>s2
    v1>1L>s1
s2:
    v0>0L>s1
    v1>1R>s2

                      s1 
                     1    s2
                     1s1
                  s1 1
                 1   1s2
                 1   1    s2
                 1   1s1
                 1s1 1
             1s1 1
          s1 1   1