Question: Write a function that takes a list of integers as input. This list can be of any length. The function should return a dictionary where

Write a function that takes a list of integers as input. This list can be of any length. The function should return a dictionary where the numbers from the input list are the keys and the values are a list of the integer factors of the number in question. (Ex. INPUT: [8, 10] || OUTPUT: {8: [8, 4, 2, 1] , 10: [10, 5, 2, 1]})

Write a function that takes two numbers as input and prints out the sum, product, difference, and quotient of the two numbers. For subtraction, assume the second number is being subracted from the first. For divsion assume the second number is the divisor.

In Python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!