Skip to content

Instantly share code, notes, and snippets.

@wakita
Created June 1, 2023 08:36
Show Gist options
  • Save wakita/72d536317899b9235d904cb2979f350a to your computer and use it in GitHub Desktop.
Save wakita/72d536317899b9235d904cb2979f350a to your computer and use it in GitHub Desktop.
ゼミの発表順を決めるためのツール
#!/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