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

Which type of feedback is most helpful during the peer-review process?
Which of the following is not a fee that affects the total cost of leasing a car? a. principal charge b. total down payment c. residual value of the car d. docu
Dadas las funciones f(x) = x + 3, g(x)= x(cuadrada)+ 5x + 6,r(x) = x+2, s(x) = x(cuadrada) - 3x - 10 Determina (g(x)) (s(x))
Missy Diwater the former platform diver for the Ringling Brother's circus had a kinetic energy of 15000 j just to prior to hitting the bucket of water. If Missy
What was the main effect of the Contract With America? A. The Constitution was amended. B. Democrats lost the White House. C. The Senate impeached Bill Clint
Which type of conic section has an eccentricity greater than one? a. an ellipse c. a hyperbola b. a parabola d. a circle
What is Granny's motivation for selling food to the army without getting paid for her time?
solve the equation -2x -18= 6
Identify the body parts supplied by the artery or vein listed below
Evaluate the extent to which the owner conducts businesses professionally, responsibly and ethically