Advertisement
Guest User

qw

a guest
Feb 10th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. row = 0
  2. while row < rows:
  3.     line = ""
  4.     column = 0
  5.     while column < columns:
  6.         i = random.randint(minimum, maximum)
  7.         s = str(i)
  8.         while len(s) < 10:
  9.             s = " " + s
  10.         line += s
  11.         column += 1
  12.     print(line)
  13.     row += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement