Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

number 3 , 4 , and 5 please 1. Download file phones.txt from canvas. Read the contents of the file into a dictionary of associations

number 3 , 4 , and 5 please image text in transcribed
1. Download file phones.txt from canvas. Read the contents of the file into a dictionary of associations of the type name : phone number, where both name and phone number are strings. Create a set with all the phone area codes (parenthesized numbers) that are listed in the file. 2. Download file numbers.txt from canvas. Each line of the multi-line text file contains numbers separated by commas. Read the numbers into a list. Compute their average value. 3. Create a uniform distribution of 100 numbers in the range -100 to 100. Store all numbers in a list. Plot the random numbers using blue color. Plot their average using red color. Display a legend in the lower right corner of the plot. 4. Create a generator that yields n powers for any given integer base x (x, x1, x2,...,x),x>0. 5. Given a list of full names A = l'george Washington', 'andrew jackson', 'thomas jefferson'), produce two new lists, one with their first names F = ['george', 'andrew', 'thomas') and another with their last names L = ['washington', 'jackson', 'jefferson'). Note: Solve the problems of your choice using a single Jupyter notebook. Submit the file to canvas

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

5. Our efficiency focus eliminates free time for fresh thinking.

Answered: 1 week ago