1. From a given a list of 1000 integers from 1 to 1000, extract pairs of numbers whose product is 2424. How efficient is your approach to the problem? 2. Explain what will be the values of a and b if...



1.
From a given a list of 1000 integers from 1 to 1000, extract pairs of numbers whose product is 2424. How efficient is your approach to the problem?



2.
Explain what will be the values of a and b if we call the function CodeWrite (defined below) with inputs 78 and 89.


def CodeWrite (a, b):


if (a > 0 and b > 0):


a = a + b;


a = a + b;


a = a + b;


print(a and b)








Dec 12, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here