sghimire2052 sghimire2052
  • 26-11-2019
  • Computers and Technology
contestada

Given the following code,
a = ['m', 'r', 'y']
b = ['e', 'r', '!']
ab = zip (a, b)

Which of the following statements will assign list a to x and list b to y?

Respuesta :

usamasama
usamasama usamasama
  • 09-12-2019

Answer:

x = a

y = b

Explanation:

list a is  ['m', 'r', 'y']x = a

to assign list to another variable , need to initialise new variable and assign that variable to list a

where a = ['m', 'r', 'y']

now  x = ['m', 'r', 'y']

Similarly,

b = ['e', 'r', '!']

y = b

y = ['e', 'r', '!']

Answer Link

Otras preguntas

Providing harsh criticism to other players is a natural part of being a good leader.
Can anybody help me with this problem ? (_11^)P_7
Which type of plant was the last to evolve? angiosperm gymnosperm bryophyte nonvascular
please help me answer these questions and show me ur work please
What is the least possible integer solution of the inequality 4.103x>19.868
The relief efforts of the early New Deal were intended to A) stimulate a broad recovery of the economy. B) provide relief to the lower classes first. C) create
The label in your jeans says that they were made in a Latin American country. This is probably because the jeans manufacturing company wanted to locate its plan
Findthereciprocal 6/7
The Federalists’ main goal in Pennsylvania was a. commercial development. b. city planning. c. balanced budget. d. trade with Baltimore
Anybody who could help me with this please.I will.apreciate all the answers:)))))