Question
This is in python, Please help ------- a. function name : sum diff input : a, b (two numbers) output : a + b, a
This is in python,
Please help
-------
a. function name : sum diff input : a, b (two numbers) output : a + b, a b
b. function name : polynomial input : x (one number) output : the value x^2 - 2x+1
c. function name : ordered input : a, b (two numbers) output : the smaller number, the larger number
d. function name : even sum input : L (list of numbers) output : sum of the numbers of even index
e. function name : odd sum input : L (list of numbers) output : sum of the numbers of odd index
f. function name : Large3 input : L (list of numbers) output : three largest numbers in order example : entering [3,5,2,1,8] returns (3,5,8)
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