from random import randint as rdlo = []while len(lo) < 6: x = rd(1,59) if x not in lo: lo.append(x)lo.sort()st ="" for c in lo: st += str(c) +","st = st[:-1] print(st)
from random import randint as rdlo = []while len(lo) < 6: x = rd(1,59) if x not in lo: lo.append(x)lo.sort()st ="" for c in lo: st += str(c) +","st = st[:-1] print(st)