1
0
Fork 0

INIT (I swear I will never re-init this repo again)

This commit is contained in:
Chlorine 2025-05-10 14:02:07 +08:00
commit 3db85006cc
Signed by: chlorine
GPG key ID: 5ADFCC948BAA473A
105 changed files with 16927 additions and 0 deletions

12
scripts/random-room.py Normal file
View file

@ -0,0 +1,12 @@
# 用来随机分配房间号的小东西 (/ω\)
import random
def generate_room():
floor = str(random.randint(1, 14)).zfill(2) # 01-14
room = str(random.randint(1, 99)).zfill(2) # 01-99
wing = random.choice(["A", "B"]) # A or B
return f"{floor}{room}{wing}"
print(generate_room())