0 of 5 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Your time:
Time has elapsed
Good work attempting the practice problems!
Please leave a comment below if you require any clarifications or send an email to [email protected] if you have any comments about this quiz.
You have completed this lesson!
Write a python program that takes a string “Mercury Venus Earth Mars Jupiter Saturn Uranus Neptune”, splits it into planet names and creates a list of planets.
Then accept a planet name from the user and check whether it is in the solar system. Display the result on the screen.
This response will be reviewed and graded after submission.
Let a = [ 1,2,3,4,5 ] then which of the following is correct ?
Create a list starting with one element. “Joffrey”. Then add the following names into the list one by one:
Cersei, Walder Frey, Meryn Trant, Tywin Lannister.
Try to add the names in as many ways as you can think of.
This response will be reviewed and graded after submission.
Create a list containing the names of names: “Micheal Jackson”,”Bill Gates”,”Barack Obama”,”Justin Bieber”,”Sachin Tendulkar”,”Tiger woods”,”The Under Taker”,”John Cena”
Sort this list in ascending order and display on the screen.
Reverse the list and display on the screen.
This response will be reviewed and graded after submission.
Write a python program that sorts an array containing the planets into ascending and descending order.
'Mercury', 'Venus', 'Earth', 'Mars', 'Jupiter', 'Saturn', 'Uranus', 'Neptune'
This response will be reviewed and graded after submission.