Python Writes a LaTeX file that is a bunch of numbers on the page

Writes a LaTeX file that is a bunch of numbers on the page

#! /bin/env python
# A program that writes a latex file that holds all the numbers from
# 0 to 351

maxnumber=352 # the max number I want to print

# A LaTeX header.

print "\\documentclass[12pt]{article}"
print "\\usepackage{fullpage}"
print "\\begin{document}"

for number in range(maxnumber):
    # Latex code for a same area with a number in the middle
    print "\\begin{minipage}[c][0.75in]{0.75in}", number
    print "\\end{minipage}"

#LaTeX footer.
print "\\end{document}"