Update main.py

Changed printing format to use the .format() str method.