Created
June 1, 2023 08:36
-
-
Save wakita/72d536317899b9235d904cb2979f350a to your computer and use it in GitHub Desktop.
ゼミの発表順を決めるためのツール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import datetime | |
import random | |
random.seed(datetime.date.today().strftime('%Y-%m-%d')) | |
people = 'のびた じゃいあん どらちゃん すねお'.split() # people には空白区切りでメンバーの名前を記入する | |
random.shuffle(people) | |
print('\n'.join(['\n# 今日の発表順\n'] + people)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment