1. Create a Python script that computes the number ofsongs that can be stored on a flash drive in a
1. Create a Python script that computes the number ofsongs that can be stored on a flash drive in a digital musicplayer. Background information:
>the default bit sampling rate for ripping a CD intothe iTunes AACmusic format is 256 kbps
•for data sampling purposes, ‘k’ is10^3
•the ‘b’ stands for bit, the fundamentaldigital storage unit
•’kbps’ then is 1000 bits / second ofencoded music
>the average song lasts 4 minutes
>flash drives range in size from from 2GB to 160GB
•for storage purposes, ‘G’ is 2^30
•the ‘B’ stands for byte, a digitalstorage unit consisting of 8 bits Compute:
Using the above data, create a Python script that reports theaverage number of songs an 8GB flash drive can hold. . . .