Question: undefined 3. Filename: assign3-7.py Write a Python program to calculate the average of the numbers in a given tuple of tuples, and create a tuple

undefined 3. Filename: assign3-7.py Write a Python program to calculate the averageundefined

3. Filename: assign3-7.py Write a Python program to calculate the average of the numbers in a given tuple of tuples, and create a tuple of the averages. nums = ((10, 10, 10, 12), (30, 45, 56), (81, 80, 39, 32, 90), (1, 2, 3, 4, 0)) H:\>python C:\Users aslsabbaghpourhokma\Documents\IT2431\Module3\assign3-7.py Original Tuple: ((10, 10, 10, 12), (30, 45, 56), (81, 80, 39, 32, 90), (1, 2, 3, 4, 0)) New Tuple: (10.5, 43.666666666666664, 64.4, 2.0) nums = ((10, 5, 10, 12), (1, 2)) H:\>python C:\Users aslsabbaghpourhokma\Documents\IT2431\Module3\assign3-7.py Original Tuple: ((10, 5, 10, 12), (1, 2)) New Tuple: (9.25, 1.5) 4. Filename: assign3-8.py Write a Python program that reads one string from the cmd and converts it to a tuple. H:\>python C:\Users aslsabbaghpourhokma\Documents\IT2431\Module3\assign3-8.py "Welcome World" ('W', 'e', 'l', 'c', 'o', 'm', 'e', '', 'W', 'o', 'r', 'l', 'd') H:\>python C:\Users aslsabbaghpourhokma\Documents\IT2431\Module3\assign3-8.py Hello ('H', 'e', 'l', 'l', 'o')

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!