Guest User

Map Array

a guest
Jun 4th, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.94 KB | None | 0 0
  1. # Trying to make @ character function on map with array and coordinates.
  2.  
  3. my_map = """
  4. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  5. w                                                            w
  6. w                                                            w
  7. w                                                            w
  8. w                                                            w
  9. w                                                            w
  10. w                                                            w
  11. w                                                            w
  12. w                          wwwwwwww                          w
  13. w                          w      w                          w
  14. w                          w      w                          w
  15. w                          wwwwwwww                          w
  16. w                                                            w
  17. w                                                            w
  18. w                                                            w
  19. w                                                            w
  20. w                                                            w
  21. w                                                            w
  22. w                                                            w
  23. w                                                            w
  24. w @                                                          w
  25. w                                                            w
  26. w                                                            w
  27. w                                                            w
  28. w                                                            w
  29. w                                                            w
  30. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  31. """
  32.                                                                    
  33.  
  34. my_map = [
  35. ["w"] * 62,
  36. ["w"] * 27]
  37.  
  38. print my_map[1][2]
Advertisement
Add Comment
Please, Sign In to add comment