adnanateeq035 adnanateeq035
  • 25-02-2021
  • Computers and Technology
contestada

Given two lists: L1=[10,12,14] and L2=[20,22,24] 2
What does each of the following expressions evaluate to?
(i) L1+L2 (ii) L1*2 (iii) L1

Respuesta :

udacity990 udacity990
  • 25-02-2021

Answer:

Explanation:

(i) L1+L2  Error:

L1=[10,12,14]  

L2=[20,22,24]       # {n. 2 delete}

L1+L2  

ans =

   30    34    38

(ii) L1*2

ans =

 20    24    28

(iii) L1

L1 =

  10    12    14

Answer Link

Otras preguntas

This is Maneli’s strategy from the previous screen: “I think we should multiply each side by 3/2 because that is the reciprocal of 2/3 Write an equation that ca
A dartboard consists of a circle inscribed in a square. The area of the circle is square inches. The area of the square is 64 square inches. A dartboard consist
ne way to describe temperament involves the variation in the speed and intensity with which an individual responds to situations with positive or negative emoti
Is there a cap on damages in class actions for violations of the fcra.
In this figure, the coordinates of the vertices of quadrilateral PARK are (5, 5), (5, 1), (-2, 1), and (0, 5) respectively. The corresponding coordinates of the
can somebody help me on this?
Mount Everest is the highest mountain on Earth, measuring 8848 meters high. It takes 40 days to climb Mount Everest. Suppose that a climber climbed the same num
Please help! - question is in the picture.
Under which condition should a guest’s ID be rechecked?
Your file, pets.txt, contains the type of pet, weight, and age on each line. An example line is below: dog, 30, 6 Finish the code to read the file and print the