Create Table Using For Loop In Python