fork(1) download
  1. import random
  2.  
  3. 당첨자수 = 4
  4. 후보 = "cljg918, woo7739, abdullar, greenjuice, jhyun6913.park, cheolwoo-kim, floridasnail, louispark, get-cheaper, danbain, mastertri, jaywon, woolgom, lws, gilma, julianpark, lsj01090, white-rose, breath, garudi, pius.pius"
  5.  
  6. lotteryBox = 후보.split(',')
  7. random.shuffle(lotteryBox)
  8.  
  9. for i in range(0,당첨자수):
  10. print(lotteryBox[i])
Success #stdin #stdout 0.01s 37616KB
stdin
Standard input is empty
stdout
 pius.pius
 white-rose
 lws
 greenjuice