fork download
  1. import random
  2.  
  3. 당첨자수 = 1
  4. 후보 = "@floridasnail, @coffeenut, @sampling, @sjchoi, @watermelon13, @oounding, @chungjh, @junn, @nand, @brianyang0912, @chosungyun, @zenigame, @woolgom, @gilma, @breath, @goodhello, @lws"
  5.  
  6. lotteryBox = 후보.split(',')
  7. random.seed()
  8. random.shuffle(lotteryBox)
  9.  
  10. for i in range(0,당첨자수):
  11. print(lotteryBox[i])
Success #stdin #stdout 0.05s 11836KB
stdin
Standard input is empty
stdout
 @chungjh