Alexa Metrics

Coding Adventure 5: Time for transportation

Master Python

Be familiar with Python arrays and functions.

JOIN

Description

It is time of cooperation between teammates to start transportation of the valuables. Have fun

Preview Video

Coding Missions

Launch time

It's transportation time! Let's see who is the fastest. The lane numbers are shown on the white cells. The results are shown on the colored cells. Red cells symbolize 1st and 2nd rank winners, while yellow cells symbolize the 3rd and 4th rank winners. The blue cells symbolize the last three positions. Starting from lane 1 , print the color results onto the screen. 

Hint: Yellow, blue, red, blue, blue, yellow, red

lanes speed results

This mission is similar to the previous. Instead of printing the color results in one line, you are required to print the color results on separate lines. 

Lane speed color and number

Now, it is a requirement to print the lane number along with the color results onto the screen. 

Lane color results


Robo has to color in the white cells based on the color results from the race. Each lane should be colored by its position. Red for 1st and 2nd place, yellow for 3rd and 4th place, and the rest are in blue.

Color lanes and print results

For this mission, we have to color in the lanes and print the results onto the screen. You have to color in the  white cells based on the result colors. 1st and 2nd in red, 3rd and 4th in yellow, and the rest are in blue.  

Robo also has to print the lane number along with the color results onto the screen.

Master Python

Be familiar with Python arrays and functions.

JOIN
Canada Flag Privacy Policy Terms of Use
Got an invite