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