How To Make Rows And Columns In Python Using Nested For Loop Function