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

Which hindu god is know as 'the preserver'?
What did Annie moore do for work? how did her trip on the S.S Nevada?
Which type of change occurs when the electrons of two atoms interact to form an atomic bond?
Was jp morgan a captain of industry or a robber baron
1.Define the following terms Proton: Neutron: Isotope: Atomic Mass: Radioactive: Natural Abundance:
Which is a typical example of a gothic character. A criminal a king a farmer a soldier
Estimate the answer to 44,596,251 – 28,257,934 by first rounding each number to the nearest million.
1.What is the value of x? 2.What is the value of x? Enter your answer as a decimal. 3.What is the value of x? 4.What is the value of x? 5.The area of a right tr
According to Abraham Maslow’s hierarchy of needs, which is most basic?
While trying to explain a physics concept, a student said, "Stuff keeps doing what it's doing unless something messes with it." What law was the student summari