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

1. Which of the following is a shrub ? (a) Tomato (b) Mint (c) Coconut (d) Lemon 2. Which of the following is a climber ? (a) Potato (b) Grape (c) Both of these
What progress did the Greeks under percicles make toward democratic government?
On the periodic table, why is the mass number expressed as a decimal? * A-All atoms have half of a proton or half of a neutron in the nucleus, so decimals are n
Rewrite in simplest terms: -3(s – 10) + 7(-2s – 1)
Why do we need to pay extra attention to details in short stories?
A clear and effective thesis statement should include the topic of the essay andA. a detailed outline about the topic B. the argument C. the counterclaim D. the
what is the average atomic mass of beanium​
The Cooper Furniture Company of Potomac, Maryland, assembles two types of chairs (Recliners and Rockers). Separate assembly lines are used for each type of chai
Please HELP ME IN THIS QUESTION ¤¤​
A shopkeeper marks the price of an calculator at 25% above cost price. He then allows a discount of 15% of the marked price and he still makes profit Rs.900. Fi