A

Admin • 832.27K Points
Coach

Q. What does the following code do?

Code:
x = [1, 2, 3]
y = [4, 5, 6]
z = x + y
  • (A) Multiplies the elements of x and y together
  • (B) Adds the elements of x and y together
  • (C) Concatenates the elements of x and y together
  • (D) Subtract the elements of x and y together
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.