Back to Lesson
Grid Configuration
Use a tuple as a dictionary key to store a grid value.
Instructions
- Create a dictionary called
grid - Add a key-value pair where the key is the tupleand the value is the string
(5, 7)"Mined" - Print the value stored at the keyfrom the dictionary.
(5, 7)
main.py
main.py
Ctrl + Enter