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

what actions we can take to get along with others?
2C18H38 + 5502 → 36CO2 + 38H2O
Read these examples from Jean-Francois Champollion's investigation into the Rosetta Stone, and decide whether each shows logical thinking. "Immediately Champoll
The number of oranges harvested from Jake's yard decreased by 5% from last year to this year. Jake used the following expression to find the number of oranges h
1. Which of these is NOT a common type of Camber/Caster adjuster? A. Wedges B. Cams C. Shims D. Slots
The Declaration of Independence can best be described as what type of text?
What is the expression and value of “four more than the quotient of two times a number and 7 decreased by 9” if the number n=-14
What was first used in WWI that required pilots to be trained?
Which inference can be made from this excerpt? studying Ella did poorly on her test. Ella is looking at a biology test. Ella should have studied more. Ella did
a device that allows multiple computers to communicate with each other is