Random fill is completed in py-demo.py, but numbers are off