spacepaste

  1.  
  2. def create_world(rows,columns):
  3. world=[['x']*columns for _ in range(rows)]
  4. return world
  5. def print_world(nested_list):
  6. for _ in nested_list:
  7. print(*_, sep='')
  8. world=create_world(rows=15,columns=35)
  9. world[3][5]='O'
  10. player_pos=world[3][5] # player_pos = 'O' as expected but i want it to be [3][5]
  11. #print_world(world)
  12.