- Guías de estudio, Notas de estudios & Resúmenes
¿Buscas las mejores guías de estudio, notas de estudio y resúmenes para ? En esta página encontrarás 14 documentos de estudio para .
14 resultados
Examen
Python_and_Data_Analytics_NEC_Week12_Solved
1.	Write a program named find_. Accept ints from user until the user enters a 0. Then calculate mean, median and standard deviations of all entered values. Display stats. 
2.	(Extra Credit). Same setup with program find_. Include mode using SciPy
Examen
Python_and_Data_Analytics_NEC_Week6_Solved
Popular1.	Write a program named define_ that contains a class named Pet, which should have the following data attributes: 
name 
animal_type (Examples: 'dog', 'cat', 'bird', etc.) 
age 
The Petclass should have an __init__ method that creates these attributes. 
2.	Once you have written the class, write a program named our_ that creates three instances of the Pet class and prints each object's attributes. 
•	(Extra Credit) Write a program named with the following atttributes 
•	Main class na...
Lote
Python_and_Data_Analytics_NEC_All_14_Weeks_Solved
Python_and_Data_Analytics_NEC_All_Weeks_Solved with comments. Use this document as a reference to solve the problems. It is for instructional purpose only, do not copy paste. Don't share the document, instead share the link to this advertisement.
Examen
Python_and_Data_Analytics_NEC_Week4_Solved
1.	Write a program named count_ that prompts the user for a string and then displays a count of each of the vowels (a, e, i, o, u) and the total number of vowels contained in that string. Hint: Remember that vowels can also be uppercase letters. 
2.	Write a program named split_ that accepts a string in the format Age.FirstName and returns the value FirstName is Age years old. Length of Mary is X. Example: 22.Mary >> Mary is 22 years old. Length of Mary is 4.
Examen
Python_and_Data_Analytics_NEC_Week14_Solved
1.	Write a program named plot_ with the following parameters: mean value- 24, standard deviation - 10, sample size- 750,000, graph bars- 100.
Examen
Python_and_Data_Analytics_NEC_Week11_Solved
1.	Write a program named guess_. Use NumPy to generate a random number between 1 and 100. Accept int input and ask user to guess number. Inform if high or low. Exit when entered number correct. Tell user how many tries it took to guess number.
Examen
Python_and_Data_Analytics_NEC_Week10_Solved
1.	Write a program named double_ that contains a 2-D array containing two arrays with the values 1,2,3 and 4,5,6. Check and report on the array's dimensions 
2.	(Extra Credit) Write a program named even_ that uses arrange and step to create an array of all the even integers from 30 to 70
Examen
Python_and_Data_Analytics_NEC_Week9_Solved
1.	Write a program named python_to_ that takes a Python Dictionary object and converts it to a JSON file using .dumps. Object should define a celebrity. 
2.	Write a program named json_to_ that reverses the process, from json to python using .loads,
Examen
Python_and_Data_Analytics_NEC_Week8_Solved
1.	Write a program named civil_ that opens, reads and closes the Gettysburg text file. Use a for loop to read 
 
2.	Write a program named about_ that creates and writes a five line text file about yourself. Then write a program named delete_ that deletes that file 
3.	(Extra Credit) Write a program named make_ that reads the integers contained in the attached file into a list. The program should then process the numbers in the list and display the following information: 
•	The lowest number...
Examen
Python_and_Data_Analytics_NEC_Week7_Solved
1.	Write a program named edit_ that asks a person their age. Accept an int. Use a custom exception to return a message if the number entered is an int that is less than 1 or greater than 115. Create an exception that catches an error if a non int is entered.
Examen
Python_and_Data_Analytics_NEC_Week5_Solved
1.	Write a program named try_ that contains a function named max. The program accepts two integer values as arguments and returns the value that is the greater of the two. For example, if 7 and 12 are passed as arguments to the function, the function should return 12. Decide for yourself how to handle a situation where the same two integers are entered. 
 
2.	Write a program named try_ that contains a lambda expression that converts Fahrenheit to Celsius. Accept the Fahrenheit temperature and ...
Examen
Python_and_Data_Analytics_NEC_Week3_Solved
1.	Write a program, my_ that contains a Tuple holding the names of friends or family members. Then use a For Loop to read and print the names. 
2.	Write a program, , that contains a List of six integers. Use a list method to add one more integer. Use a list method to sort the list. Use a While Loop to print the entries.
Examen
Python_and_Data_Analytics_NEC_Week2_Solved
1.	Write a program named check_ that requests an integer from the user and prints whether the integer is positive or negative or zero. 
2.	A year with 366 days is called a leap year. Leap years are necessary to keep the calendar in sync with the sun, because the earth revolves around the sun once very 365.25 days. As a result, years that are divisible by 4, like 1996, are leap years. However, years that are divisible by 100, like 1900, are not leap years. But years that are divisible by 400, lik...
Examen
Python_and_Data_Analytics_NEC_Week1_Solved
1.	Write a program named my_ that displays the following information: 
Your name 
The city where you were born 
Your favorite sports team 
Your undergraduate major 
 
2.	A car's miles per gallon (MPG) can be calculated with the following formula: 
MPG = Miles driven ÷ Gallons of gas used 
Write a program named mles_ that asks the user for the number of miles driven and the gallons of gas used. It should calculate the car's MPG and display the result.