Question: Question 4 : a ) Write a Python program to display the first and last colors from the following list. color _ list = [

Question 4:
a) Write a Python program to display the first and last colors from the following list. color_list =["Red", "Green", "White", "Black"]
b. Write a function to test if two numbers are amicable. Amicable numbers are twc different numbers so related that the sum of the divisor of each is equal to the other number. Suppose we have two numbers, 123 and 426, we need to find all the divisor: and 426. The sum of the divisor of 123 should equal 426, and the divisor of 426 shou 123.
 Question 4: a) Write a Python program to display the first

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!