Question: ### Task 1 You are given a tuple with numbers. Your job is to finds the sum and average of the given numbers in that

### Task 1 You are given a tuple with numbers. Your job is to finds the sum and average of the given numbers in that tuple.

===================================================================

Example 1:

Given tuple: (1, 18, 15, 12, 10, 25, 15, 18, 15, 18, 18, 20, 3, 34, 3)

Output:

The sum is: 225

The average is: 15.0

===================================================================

Example 2

Given tuple: (25, 18, 15, 12, 10, 25, 15, 10, 25, 5, 8, 8, 25)

Output:

The sum is: 201

The average is: 15.461538461538462

===================================================================

tup1 = (1, 18, 15, 12, 10, 25, 15, 18, 15, 18, 18, 20, 3, 34, 3) #tup2= (25, 18, 15, 12, 10, 25, 15, 10, 25, 5, 8, 8, 25)

### Write your code here ###

### End Code ###

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!