fork download
  1. import numpy as np
  2.  
  3. # 1~45 중 중복 없이 6개 숫자 추출
  4. numbers = np.random.choice(range(1, 44), 6, replace=False)
  5.  
  6. print(numbers) # [26 35 44 21 19 22]# your code goes her# your code goes here# your code goes here# your code goes here
  7.  
  8.  
  9.  
Success #stdin #stdout 0.12s 29104KB
stdin
Standard input is empty
stdout
[19 39  3 18 34 27]