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

Choose the answer that identifies the principal part of the verb used in the sentence. The puppies are always [following] Eric around the house. A. base form B.
The process of converting the genetic message from DNA into __________ is called transcription.
consider the specific ways a business professional might need to communicate information using a chart or graph.
Which word can be used to describe William Shakespeare at some point in his life?
Jerry paid $99.30 for 6 shirts. How much did Jerry pay for each shirt? A. $9.93 B. $15.35 C. $16.55 D. $595.80
How does language both unite and divide?
Which statement is an accurate comparison of the revolutionary movements in India and China in the 20th century?
Which was not part of the New Deal? A. Medicare Act B. Social Security Act C. Tennessee Valley Authority D. Civilian Conservation
Describe Woodrow Wilsons plan for world peace. Why did it fail? Give at least two reasons.
How does recycling help reduce pollution?