Adjust the Address (Exercise)
00:00 But I guess we need to adjust the address a little bit. You want to invite other animals to the party. However, “Python Palace” may sound a bit scary to other rodents.
00:10 Maybe it’s because they are mostly Java programmers, or maybe the word Python is not something they love to hear. If you are a mouse, you don’t want to party in a place that’s full of snakes, I guess.
00:23 Anyway, let’s see what the exercise wants us to do.
00:27
Add one line to the function body of explore_cabinet()
to set the global address to Cookie_Cabinet
. Here you will work with the same code as before, but you need to add this one line to set a global address.
00:42 So this time you can copy and paste the code into your code editor and figure out the solution. And once you’re ready, you can find me in the next lesson where we’ll tackle the solution together.
Become a Member to join the conversation.