new_contents: #__author__ = "ClaytonBat"
  
  import random
  
  def Num( ):
      l = ""
      pots =list(range(46))
      x = 0 
      while x < 7:
          pick = random.randrange(1,46)
          for i in pots:
              if pick == i:
                  break
              else:
                  continue
              
          l += str(pick) + ","
          x +=1
              
      return l
  
  print (Num())
  
subject: Add SelectNumbers,py, which select 7 number out of 46. Version 1, need to add check the duplicate numbers in the list.