use the "get_first_name" function in the "names" module and create a list of 8 first-names.
Q: موسوعة المهندس الكهربائي" want to link the site | 1:53 م
A:
Q: Which message timing factor impacts how much information can be sent and the speed at which it can b...
A: Defined the given statement
Q: 2. A fine dine-in restaurant charges a 15% service charge and a 10% sales tax on the gross bill. Wri...
A: Given: 2. A fine dine-in restaurant charges a 15% service charge and a 10% sales tax on the gross bi...
Q: Put the verb into the correct form: The film wasn't very good. I it _(enjoy) .much
A: you question is about correct verb from
Q: 12. The keyboard shortcut to toggle between anchored cells ($) and unanchored cells (no $) is: a. F4...
A: According to the question Ms-excel is the most usable application by uses of microsoft for accountin...
Q: Put the verb into the correct form: It was hard carrying the bags. They (be) .really heavy
A: Answer:- below ?
Q: What was John von Neumann's most notable accomplishment?
A: John von Neumann influenced many things that includes quantum theory, automata theory etc. He is a g...
Q: I need the answer quickly
A: let us see the answer:-
Q: Put in much/many/little/few (one word only). Anna is very busy these days. She has free time
A: Answer. Little
Q: Put the verb into the correct form: It takes me an hour to get to work in the morning. ?How long (it...
A: SOLUTION:
Q: Put the verb into the correct form: I ca og on to the website. .forget) my passwc
A: Explanation I have forgotten is the correct form of the word I can't log on to the website. I have f...
Q: Write a python program to let the user enter a string of his own choice. Check whether the given str...
A: PROGRAM EXPLANATION: Define a function isPalindrome(). This function will take a string as an inp...
Q: Assume an algorithm that takes log2 n microseconds to solve a problem. Find the largest input size n...
A: Given, An algorithm takes (log n)^2 microseconds to solve a problem. The largest size of n for which...
Q: Draw flow chart for the given pseudocode: Store 20 in the speed variable. Store 10 in the time var...
A: The flowchart is a graphical representation to represent a problem solution in a step-by-step manner...
Q: Create a to-do list program ( - Enter in the To Do text box then click either Add, Edit, or Remove b...
A: private void jButtonActionPerformed(java.awt.event.ActionEvent evt) { ...
Q: Hobbit Bank offers exactly three types of account, with the following attributes: CHECKING: Acco...
A: Enhanced entity relationship diagrams are advanced database diagrams very similar to regular ER diag...
Q: In computer science, what is a motherboard?
A: The motherboard is a circuit board that houses the circuitry and components that allow your computer...
Q: Put the verb into the correct form: _(the weather/ .change). It's colder now
A: Lets see the solution.
Q: Requirement: 1. Create at least 2 business process definition based on the given case study. 2. Iden...
A: Requirement: 1. Create at least 2 business process definition based on the given case study.2. ident...
Q: Complete the sentences. Use a superlati (-est or most.) + a preposition (of in).Brazil is a very lar...
A: given - Complete the sentences. Use a superlative(-est or most .) + a preposition (of orin).Brazil i...
Q: Scenario: The Ministry of Health is planning to build a mobile application software to screen passen...
A: Given The answer is given below.
Q: nds of SD cards ar
A: The kinds of SD cards are there?
Q: Write a program of a SAP-1 computer in Assembly Language and translate it to Machine Code given the ...
A: Answer: Given expression : 100+35-46-69+128-200 =-52
Q: Java is the subject Add appropriate code segment for the given below code. Write the instantiation s...
A: Here I ahve created the class named person with 3 data members. Next, I have created the main method...
Q: In the context of data science, what does A/B testing imply?
A: What is A/B testing? A/B testing is a basic randomized control experiment. It is a way to compare t...
Q: Suppose you have a table "t" with two columns A and B, and three rows. How do you add a column C wit...
A: Pick any cell in the table and right-click to enter a column. To insert a new row, select Table Rows...
Q: Explain each important segment of the code.
A: // Explanation is commented above of each important line import javax.swing.JOptionPane; public clas...
Q: tween Java and No
A: Differences between Java and Node JS Node js High-scalability server-side applications Because the ...
Q: What is the aim of an organization's information security? What advantages does data security provid...
A: The aim of an organization's information security is to protect the information and systems that sup...
Q: A byte has a size of how many bits?
A: - We need to talk about a byte.
Q: Based on the video "I want to rule an agile project" (link is here: https://www.youtube.com/watch?v=...
A: Agile - As I have created my own new meaning for Agile is Awesome growth with intellectual and limit...
Q: r any relevant tasks, a task analysis is needed. Explain the task analysis that you have implemented...
A: given- In designing a system, game or any relevant tasks, a task analysis is needed. Explain the tas...
Q: Put the verb into the correct form: I forgot my wallet. I don't have any money. b: Not to .worry. I ...
A: There are four future verb tenses: Simple future tense Future continous tense Future perfect tense ...
Q: Primary 0.S. interstate nighways are numbered 1-99. Odd numbers (like the 5 or 95) go north/soutn, a...
A: Code : ------------------------- number = int(input()) if(number <= 0 or number > 999): p...
Q: at using DRB is more efficient th
A: Do you think that using DRB is more efficient than using SRB
Q: One of the special registers in ARM processor is Program Status Register. Briefly explain the conten...
A: We have asked to explain about program status register/word.
Q: External hard drives and USB storage units are required since the internal hard drive's capacity is ...
A: Devices for Storage: Numerous storage methods are accessible in computer science. Each of them makes...
Q: Complete the sentences. Use a superlative (-est or most ..) + a preposition (of or in).lt was a very...
A: the happiest day of
Q: Assume you have a small virtual address space of size 2048 KB, and that the system uses paging, but ...
A: Below is the answer to the above question. I hope this will meet your requirement.
Q: The Department of Academic Affairs for a faculty has decided to develop a Web-based student registra...
A: A use case diagram is used to represent the dynamic behavior of a system. It encapsulates the system...
Q: Put the verb into the correct form: It takes me an hour to get to work in the morning. (it / take) y...
A: It takes me an hour to get to work. How long does it take you? (Answer)
Q: Put the verb into the correct form: Michel is in New York right now. _(He / stay) at the Park Hotel
A: He is staying at the Park Hotel.
Q: Find sıngle-precison floatıng-point format for the number 87.
A: For IEEE 754 each number is represented in 32 bits. It is divided into 3 parts: sign bit: 1 bit is u...
Q: Fill in the following blank using information from your textbook. One of the disadvantages of inform...
A: Information technology is building the communication networks for an organization and it provides th...
Q: way
A: Introduction: The php.ini file must be appropriately set with the specifics of how your system sends...
Q: BEGIN INPUT rate INPUT hours GrossPayrate x hours DeductionGrossPay x 0.05 NetPayGrossPay – Deduc...
A: Grossed and a net paycheck: Individuals who would be compensated for their work are given a net comp...
Q: What kinds of SD cards are there?
A: INTRODUCTION: Phones and cameras are among the most popular digital devices today. While most of the...
Q: Let p = “It is raining” q = “I am wearing my rubbers" s = “I am carrying my umbrella...
A: Expressions for the following statements in symbols statements: (a) “Either it is not raining, or I...
Q: Paragraph Completion: The dominant form of mass communication today is television. Of course, people...
A: The dominant form of mass communication today is television. of course , people still buy magazines ...
Q: Put the verb into the correct form: I have a car, but I, (not /use) it .much
A: INTRODUCTION: Words that show action (sing), occurrence (develop), or state of being are called ver...
python
use the "get_first_name" function in the "names" module and create a list of 8 first-names.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
- # Debug the following program and submit the CORRECT version ####### Lists names = ["chris","dan", "edgar", "bonnie", "al", "fran"] usernames = ["202999", "100345", "299999", "309890", "298765", "345678"] passwords = ["password", "password123", "abcdef", "asdfjkl;", "ilovemom", "abc123"] menuChoice = 0 # user's menu choice ###### functions def printList(list):# print listprintprint(list)print def displayMenu():# displays user-friendly, creative menu printprintprint("******* MENU *******")print("1. (D)isplay list 1 in original order")print("2. D(I)splay list 2 in original order")print("3. (F)ind an item in the list 1")print("4. (L)ogin")print("99. (E)xit")printprint def isFound(list, value):# finds a value in list returns True if found, False otherwiseif (value in list):return Trueelse: return False ###### main program while (menuChoice != "99"):displayMenu()menuChoice = input("Enter a menu choice: ")# handling menu choices if (menuChoice == "10" or menuChoice.upper().strip() ==…Pythongiven the following lists, create a function that returns the name of the person who is obese based on their BMI.patient = ['Anna', 'Marie', 'Taylor', 'Alison']info = [[45, 1.5], [38, 1.4], [33, 1.7], [40, 1.5]](the given from list info is weight in kg and height in meters)formula for BMI: kg/m^2Modify the sample code to prompt the user for a name. Have theprogram search the existing list for the entered name. If thename is in the list, display the corresponding phone number;otherwise display this message,The name is not in the current phone directory. #include<iostream>#include<iomanip> using namespace std;const int MAXNAME = 30;const int MAXTEL = 15;struct Tele_typ{char name[MAXNAME];char phone_no[MAXTEL];Tele_typ* nextaddr;};void display(Tele_typ*);int main(){Tele_typ t1 = { " Cage, Mark", "(555) 898-2392" };Tele_typ t2 = { " Dolan, Nick", "(555) 682-3104" };Tele_typ t3 = { " Lennon, John", "(555) 718-4581" };Tele_typ* first; first = &t1;t1.nextaddr = &t2;t2.nextaddr = &t3;t3.nextaddr = NULL;display(first);return 0;}void display(Tele_typ * contents) // of type Tele_typ {while (contents != NULL){cout.setf(ios::left);cout.width(25); cout << '\n' << contents->name;cout.width(20); cout << contents->phone_no;contents =…
- Modify the sample code to prompt the user for a name. Have theprogram search the existing list for the entered name. If thename is in the list, display the corresponding phone number;otherwise display this message,The name is not in the current phone directory. #include<iostream>#include<iomanip> using namespace std;const int MAXNAME = 30;const int MAXTEL = 15;struct Tele_typ{char name[MAXNAME];char phone_no[MAXTEL];Tele_typ* nextaddr;};void display(Tele_typ*);int main(){Tele_typ t1 = { " Cage, Mark", "(555) 898-2392" };Tele_typ t2 = { " Dolan, Nick", "(555) 682-3104" };Tele_typ t3 = { " Lennon, John", "(555) 718-4581" };Tele_typ* first; first = &t1; t1.nextaddr = &t2; t2.nextaddr = &t3; t3.nextaddr = NULL; display(first); return 0;}void display(Tele_typ * contents) // of type Tele_typ {while (contents != NULL){cout.setf(ios::left);cout.width(25); cout << '\n' << contents->name;cout.width(20); cout << contents->phone_no;contents =…Create a function in Python named sumListDiv2 which takes as input a list of integers and returns the sum of the elements of the list which are divided by 2. Don't forget to add the type contract as comments.Scenario: You have some data where customer's last & first names are listed in one field, "Davis, James". You are tasked to create a python function named 'parse_name' that will accept a string input and return a list with the names seperated and ordered by first name and then last name. Create the function in the cell below.
- in python create a function that raises a keyerror if the key is duplicatedCode the following. PYTHON PROGRAMMING LANGUAGE ASSIGNMENT Create a new text document called names.txt (this is done by hand - not using programming) with the following names: Adam, Bryan, Charlie. Each name should be followed by a hard return (do not store them in a list). Main Function. Write a program where the user enters a name. Using the read function, check to see if the name is in the text document. If it is, respond back to the user the name is found within the list. Read Function. The read function should return the contents of the text document as a list. Write Function. The write function should take the list and override the file with the new names list in reverse alphabetical order with a hard return after each name.?Differentiate between VIEW and COPY? This question is based on arrays in Python.
- Write a Python function named uniqueNumbers that generates 10 unique numbers between 50 and 80 and returns them in a list.Python 3 NO IMPORT PICKLE Please check the picture and add one more function(def) to display menu and fix the error in the code. Write a program that keeps names and email addresses in a dictionary as key-value pairs. You Must create and use at least 5 meaningful functions. A function to display a menu A function to look up a person’s email address A function to add a new name and email address A function to change an email address A function to delete a name and email address. This is the Required Output example: Menu ---------------------------------------- 1. Look up an email address 2. Add a new name and email address 3. Change an existing email address 4. Delete a name and email address 5. Quit the program Enter your choice: 2 Enter name: John Enter email address: John@yahoo.com That name already exists Menu ---------------------------------------- 1. Look up an email address 2. Add a new name and email address 3. Change an existing email address 4. Delete a name and…Please write a program that is an address book, containg, first name, last name, phone number(must validate), email. C++ Must create a menu for the program as follows Add person delete person(search by last name) find person(search by last name) list all people save list exit program also program must be used in arrays not vectors, and be stored into a text file.