Coding Adventure 7: Let's collect some gifts

Discover Python

Everything from movement through loops, conditions to nested structures in your winter journey with Python

JOIN

Description

Awesome! We have collected lots of beautiful ornaments for the tree. Now we need to collect some actual gifts to lay under it for this town's kind folks. Focus!

Preview Video

Coding Missions

Let's collect the first gift

We need to print the number of cracked ice patches we skate on to collect each gift. Remember to stay on course - there is broken ice everywhere!

More gifts to collect

Now we need to fetch the gift and stop after our counter indicates that we have stepped over three thin ice patches. Remember to move straight. No skating around just for the fun of it!

Where is the gift?

So this is a bit different, I guess. Here we need to step forward and count up to three thin ice patches before turning right to take 4 steps and find the gift.

No more than three thin ice patches!

Another mysterious plan! We need to collect three gifts by moving 8 steps forward, then turning right and moving another steps to collect the third gift - but be careful! We need a counter that aborts our plan once we have stepped over three thin ice patches.

Let's draw another letter!

And as we come to the end of yet another adventure, you know it! We need to skate around to collect the last gift while we write another letter to complete our Christmas wishes.

Discover Python

Everything from movement through loops, conditions to nested structures in your winter journey with Python

JOIN
Canada Flag Privacy Policy Terms of Use
Got an invite