fork(1) download
  1. import random
  2.  
  3. 당첨자수 = 1
  4. 후보 = "woo7739, tradingideas, zenigame, sampling, sjchoi, junn, chungjh, candycoco, gilma, watermelon13, breath, oounding, yunny0930, woolgom, goodhello, tbw, lws, fishking, jungdubu, wf567568, hwangbowoong, koreaminer"
  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 11944KB
stdin
Standard input is empty
stdout
 koreaminer