fork download
  1. # 사과농축액 문화상품권
  2. import random
  3.  
  4. 당첨자수 = 1
  5. 후보 = "@yunny0930, @pinkpig, @hwangbowoong, @krapfred, @bezzangi, @singasong"
  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.02s 37616KB
stdin
Standard input is empty
stdout
 @hwangbowoong