mathurm mathurm
  • 16-04-2022
  • Computers and Technology
contestada

easy python question, no explanation just right answer

easy python question no explanation just right answer class=

Respuesta :

Plus16463574585
Plus16463574585 Plus16463574585
  • 18-04-2022

Answer:

See the code below.

Explanation:

def sumOfTwo(a, b, v):

   output = False

   for i in a:

       for j in b:

           sum = i + j

           if sum == v:

               output = True

   print(output)

sumOfTwo([-4, 6, 1], [10, .5, 30], 6)

You can use any online python ide to check the code.

Answer Link

Otras preguntas

can anybody help me on this
what is capacitance? A.The amount of charge stored per volt B.The amount of force coulomb C.The amount of potential per volt D.The amount of energy per charge
350*8,500,000/ 0.006*400
Suzy was adding numbers on a number line. She started at 26 and then she added 36. She wrote that her answer was 52. Is Suzy's answer reasonable? A.
A square is inscribed in an isosceles right triangle with the length of the leg equal to 2 in. as shown on the figure. Find the perimeter of the square. pls hel
Electromagnets can be used to lock doors. How could an engineer increase the strength of an electromagnetic lock? Check all that apply A. by increasing the curr
Convert these numbers to scientific notation: then multiply and divided 350*8,500,000/0.006*4000
Approximate the value of 36/pi
When a hot metal cylinder is dropped into a sample of water, the water molecules _____________________ to reach the final temperature.
what is the answer to this​