import random

subjects = ["夜", "風", "海", "月", "都市", "君"]
verbs = ["囁く", "泳ぐ", "眠る", "踊る", "消える"]
adjs = ["青い", "淡い", "遠い", "熱い", "孤独な"]
objects = ["声", "夢", "影", "記憶", "光"]

def line():
    return f"{random.choice(subjects)}は {random.choice(adjs)}{random.choice(verbs)} {random.choice(objects)}"

def poem(lines=6):
    return "\n".join(line() for _ in range(lines))

# 💡ここで直接呼び出し(__name__チェックなし)
print(poem(6))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: