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

Which number is a ration number when multiplied by 0.25? A. 0.45 B. -squard root of 15 C. Pie D. 0.53713218
Hemophilia is an X-linked recessive disease. A phenotypically normal woman whose father was hemophiliac is married to a man who has normal blood-clotting. They
The body system seen here protects internal structure provide support and allow for movement.But this system does not work alone. In order for humans to move th
how to solve the equation?​
Find the slope (6,-11) and (2-1)
what are the letters on the periodic table called
Zitkala-Sa often uses jokes to start her presentations or to keep her audience engaged while presenting to figures. People love her presentations while still re
A thread is being pulled off a spool at the rate of 59.4 cm per sec. Find the radius of the spool if it makes 152 revolutions per min.
good evening could you help me you have to surround the good relative pronouns, please correct
If b=3 what does -3b equal