Question: How would I code this in the problem below in python? Math Tuple Write a program that calculates and prints certain values based on a
How would I code this in the problem below in python?
Math Tuple
Write a program that calculates and prints certain values based on a tuple you create. The program should start with a tuple defining unique numbers.
Then, calculate and print (individually):
1. The average of all of the numbers.
2. The first number in the tuple plus the second.
3. The sum of all the numbers in the tuple.
4. Each number in the tuple multipled by 3.
5. Your answer should these concepts: loops, tuples, math, variables, and anything else to achieve your solution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
