The Solar System refers to our neighbourhood of space; the planetary system formed by the Sun, the Earth and all the other planets you’re probably familiar with. There are 8 planets, 4 dwarf planets and over 200 moons in the Solar System, as well as many other celestial objects.
In the editor below, write a program that asks the user to type in the name of their favourite planet (all lowercase) and then, depending on what they typed, display at least one the following facts:
You can research your own facts on the official NASA website if you want!
Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:
Need some help? Click here to reveal a video walkthrough for this task!
I don't know that planet... it must be out of this world!
Below is an example of how the program should run:
Please type in your favourite planet(all lowercase): mercury
Mercury is the closest planet to the Sun! Did you know that a year on Mercury is just 88 days long?
Please type in your favourite planet(all lowercase): venus
Venus is the second planet from the Sun! Did you know that Venus is the third brightest natural object in the sky after the Sun and the Moon?
Please type in your favourite planet(all lowercase): tatooine
I don't know that planet... it must be out of this world!
You must be logged in to post a comment.