subject

Write a function named "internet_histogram" that takes no parameters and does not return a value. there will be a file named "survey. csv" in the testing environment containing survey results as described above (the file has a header line which much be addressed by your code). write a new file named "histogram. csv" containing 2 columns representing "internet_use, frequency" and no header line that will contain a histogram of the results of responders ages 33 to 56 including the endpoint ages. your file will have exactly 6 lines with internet_use values of 1-5 corresponding to the intfreq results and 6 for responders who answered 2 to eminuse. read the survey results file and track how many responders in this age range answered with each of these 6 options and write these counts to your "histogram. csv" file in order of internet_use starting with 1.
example histogram. csv:
1,5
2,7
3,0
4,1
5,2
6,4
this is need write in python way.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
Write a program that takes in 3 inputs [players (int type), expected game time (double type), team (char type)] and calculates actual game time (double) based on the following conditions: if the number of players or the expected game time is less than or equal to zero, it should output wrong input if the number of players is greater than 0 and less than or equal to 6 and if they are on the â€r’ or â€r’ team, their game time will be 10% faster. and if they are on the â€b’ or â€b’ team, their game time will be 15% faster. and if they are on the â€y’ or â€y’ team, their game time will be 20% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 6 but less than or equal to 12 and if they are on the â€r’ or â€r’ team, their game time will be 20% faster. and if they are on the â€b’ or â€b’ team, their game time will be 25% faster. and if they are on the â€y’ or â€y’ team their game time will be 30% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 12 but less than or equal to 18 and if they are on the â€r’ or â€r’ team, their game time will be 30% faster. and if they are on the â€b’ or â€b’ team, their game time will be 35% faster. and if they are on the â€y’ or â€y’ team, their game time will
Answers: 2
question
Computers and Technology, 22.06.2019 10:20
Print "usernum1 is negative." if usernum1 is less than 0. end with newline. convert usernum2 to 0 if usernum2 is greater than 10. otherwise, print "usernum2 is less than or equal to 10.". end with newline
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
You know the right answer?
Write a function named "internet_histogram" that takes no parameters and does not return a value. th...
Questions
question
Biology, 30.10.2020 18:50
question
Health, 30.10.2020 18:50
question
Mathematics, 30.10.2020 18:50
question
Mathematics, 30.10.2020 18:50
Questions on the website: 13722360