Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use python 2) [15 pts] Given two lists X and Y with lengths 6 and 8, construct the matrix C such that Cij -1/xi-yi). (Use
use python
2) [15 pts] Given two lists X and Y with lengths 6 and 8, construct the matrix C such that Cij -1/xi-yi). (Use for loop for this problem)? 3) 120 pts] Write a Python function which finds the largest even and odd numbers in a given list. (Use for loop and if conditions for this problem. Do not use existing codes. Use your own codes). (First find the even and odd numbers and put them in different lists (use append function). Thern use sort function to find the largest observation of each list.) 4) [10 pts] Define a Python function which finds the all of the even numbers and the product of the even numbers. (Use for loop and if conditions for this problem. Do not use existing codes Use your own codes) (You need to use append function to obtain a list of even numbers)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started