Python Code For Creating Table