Update number.py

made some beautifying changes