fork(1) download
  1. # 사과농축액 문화상품권
  2. import random
  3.  
  4. 당첨자수 = 1
  5. 후보 = "@get-cheaper, @virus707, @chungjh, @greenjuice, @jhy2246, @watermelon13, @torypapa, @soohyeongk, @tkdgjs79, @woolgom, @helperful, @sampling, @feelsogood, @mimistar, @ohmygazua, @sjs90, @sdim"
  6.  
  7. lotteryBox = 후보.split(',')
  8. random.seed()
  9. random.shuffle(lotteryBox)
  10.  
  11. for i in range(0,당첨자수):
  12. print(lotteryBox[i])
Success #stdin #stdout 0.04s 11960KB
stdin
Standard input is empty
stdout
 @jhy2246