algorithms

Algorithm implementations
git clone git://git.laack.co/algorithms.git
Log | Files | Refs | README

gen.py (225B)


      1 import random
      2 
      3 res = ""
      4 count = 0
      5 for i in range(0,200):
      6     nd = 0
      7     while nd == 0:
      8         nd = random.randint(-100000000,100000000)
      9         if(nd != 0):
     10             res += str(nd) + " "
     11             count += 1
     12 print(res)