🚀 Rocket Launch Game: String Variables

Let's have some fun with rocket launching

We are going to use words here. Words are very important, especially when naming things like "rocket" or "planet"!

Do you know that words in Python are called "strings"? Think of a string as a bunch of letters tied together to make a word, just like how your name is a string of letters!

Example: If your name is "Tom", you can tell Python: name = "Tom" and Python will remember it as a word!

In this lesson, we will set the planet name where the rocket will be going! Try to set the planet to "Mars" in the code below.

Enter Python Code:
Console Output:
Console Output:
🚀 Rocket Launch Area:
Rocket
Click to Reveal Solution

Type as below:

planet = "Mars"