1.
Declare a list called my_lst that includes at least 4 elements (values).
my_stuff to a value other than "computer"."game consoles".## question 5 solution ##
drinks = ["tea","chai latte", "latte", "coffee", "soda", "berry lemonade"]
prices = [2.49, 4.56, 3.75, 2.99, 1.99, 3.49]
order = input("Enter a number value between 1 and " + str(len(drinks)) + ": ")
quantity = input("How many " + drinks[int(order) - 1] + "s would you like? ")
total = prices[int(order) - 1] * int(quantity)
print("Your total is","$"+str(total)+".","Your",drinks[int(order) - 1],"will be ready shortly.")
sports and assigns it to the variable last. Make sure to write your code so that it works no matter how many items are in the list.
message. Do not edit the values assigned to by, az, io, or qy.
lst to the variable end_elem. Do this so that it works no matter how long lst is.
let = "z"
let_two = "p"
c = let_two + let
m = c*5
print(m)
ls = ['run', 'world', 'travel', 'lights', 'moon', 'baseball', 'sea']
new = ls[2:4]
print(new)
m?
l = ['w', '7', 0, 9]
m = l[1:2]
m?
l = ['w', '7', 0, 9]
m = l[1]