- Exercise 2 Following The Clues Using Your Treasure Map Script And Start At 1 1 Use The Output Clues As Input And Re 1 (32.96 KiB) Viewed 38 times
Exercise 2 Following the Clues - Using your treasure map script and start at (1.1). Use the output clues as input and re
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Exercise 2 Following the Clues - Using your treasure map script and start at (1.1). Use the output clues as input and re
Exercise 2 Following the Clues - Using your treasure map script and start at (1.1). Use the output clues as input and rerun the script. Stop when you have found the treasure. Here are a few to work with remember to use the interactive input version that you created, you can add cells as needed, and cut and paste to generate the necessary sequence of cells [103] script to access (3,1) modify for interactive input now #1 columns 1 print(treasuremap[row-1][column-11) print single element 34 [103] script to access (3,4) modify for interactive input row colume 4 print (treasuremap(row-1][column-11) print single element LE 42 [104] script to access (4,2) modify for interactive input row & column = 2 print (treasuremap[row-1][column-1]) # print a single element 15