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!")