Question: Please solve the questions Python Problem 4 (3 points) Write a program that do the following - define a function to generate 1000 integer number


Please solve the questions Python
Problem 4 (3 points) Write a program that do the following - define a function to generate 1000 integer number randomly between 0 and 100, and save them in a file call it 'data.dat'. - - define a function to read the file contents and count the number of numbers that fall in each range and put the results in a list: list name From To A 90 100 B 80 89 70 79 D 60 69 E 50 59 F 0 49 Use a bar chart to show the list contents. - Problem 3 (3 points) Write a Python script to generate and print a dictionary that contains a degree (0, 15, 30, 45, ..., 360) in the form (d, cos(d)). ) You need to use lambda in your solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
