Coding Adventure 2: Famous astronauts

Let's go to the moon, back and forth

learn about advanced loops, arrays and functions while you launch a rocket to the moon

免費加入

描述

In this adventure, Robo will learn the names of three famous astronauts. He plans to get their full name and the length of their names as an autograph!

預覽視頻

任務

Append names

Print the names of these famous astronauts onto the screen by connecting the text in the two cells.

Example: NeilArmstrong

Full Names

Print the names of famous astronauts onto the screen by connecting the text in the two cells. This time, you must add a space between them.    

Example: Neil Armstrong

Name length

Print the length of the astronauts names onto the screen by adding the first and last name together.

Example: The length of Neil Armstrong is 14

Append name and length

Print the name of astronaut and attach the length of that name.  
  
Example: Neil Armstrong14

Separate name and length

Print the name of the astronauts and attach the length of that name. Remember to add a comma between name and length.   

Example: Neil Armstrong, 14

Let's go to the moon, back and forth

learn about advanced loops, arrays and functions while you launch a rocket to the moon

免費加入
Canada Flag 隱私政策使 使用條款
Got an invite