fork download
  1. # 사과농축액 문화상품권
  2. import random
  3.  
  4. 당첨자수 = 1
  5. 후보 = "@chungjh, @greenjuice, @jejuin, @goodhello, @gilma, @soyou.park, @sampling, @woolgom, @jjaebird, @eversloth, @watermelon13, @sjchoi, @asinayo, @minseungchoi, @heejae, @farmerboy, @sci402, @vityyzej81, @qlfxkdla, @soohyeongk, @hawoon"
  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 11924KB
stdin
Standard input is empty
stdout
 @soohyeongk