Deliver the Invitation (Exercise)
00:00 You also want to invite a bear to the party. To make sure the bear receives the invitation, you decide to hand it over personally. That’s pretty nice.
00:11
Adjust the function definition of visit_woods()
to accept a string as an argument. And then you can see the little code snippet there, which is visit_woods()
function with a bear this time.
00:24 And again, you can find the code snippet in the supporting materials to copy it.
00:31
And then you need to update the function call of visit_woods()
. So the program prints the value of my_invitation, which is “Let’s have a party!” Again, you can pause this video course and then let’s meet the next lesson where we’ll code the solution together.
Become a Member to join the conversation.