Update account.py

Add string function for easier printing.