silverhdx122583
silverhdx122583 silverhdx122583
  • 19-01-2021
  • Computers and Technology
contestada

Please program this in Python.


Create a list of your favorite 4 movies. Print out the 0th element in the list. Now set the 0th element to be “Star Wars” and try printing it out again.

Respuesta :

Cytokine
Cytokine Cytokine
  • 19-01-2021

lst = ["Star Wars", "Movie 2", "Movie 3", "Movie 4"]

print(lst[0])

I wrote my code in python 3.8. Best of luck

Answer Link

Otras preguntas

A preparation outline is used to help organize the speaker's thoughts, ideas, and information. What is the purpose of a presentation outline? Question 14 option
Which does not affect body composition Genetics Social interaction Physical activity Nutrition
Need help with both b and c please, thank you!
How do you construct the inscribed and circumscribed circles of a triangle and what do you know about opposite angles of inscribed quadrilaterals?
The mean price of non fiction books is $22.18, the standard deviation is $3.69
what was the name of the overall effort to deceive the germans about the allied invasion plans in the run-up to operation overlord?
What is the height of a tent with an base area of 24 square feet and a total volume of 56 square feet?
The pressure and density of a certain gas at 17°C are respectively 750 mm Hg. Art. And 8. 2-10-5 g/cm3. What is this gas
The population of oswego grows at a rateof 5% per year. The population in 1990 was 40,000. What would be the predicted current population?
Bryan field 72 glasses with apple juice for school party if each glass holds one cup of juice, how many quarts of apple juice did brian use?