Update render.py

Fixed levels ouput.