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;
print(a and b)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here