Review one new technology in molecular biology and its applications or its advance (more than 2000 words) .Please answer the question only if you can observe the minimum limit of 2000 words. Thank you
In: Biology
If you have downloaded the source code from this book's companion web site, you will find the following files in the Chapter 07 folder: • GirlNames.txt--This file contains a list of the 200 most popular names given to girls born in the United States from the year 2000 through 2009. • BoyNames.txt--This file contains a list of the 200 most popular names given to boys born in the United States from the year 2000 through 2009. Write a program that reads the contents of the two files into two separate lists, allows a user to input either a girl's name, a boy's name, or both, then tells the user whether the name(s) was/were popular between 2000 and 2009. First, the program should prompt the user to choose a girl's name, a boy's name, or both by entering either 'girl', 'boy', or 'both.' Once they have chosen, they should be able to input a name. If the name was a popular name, like Jacob or Sophia, the program should print "Jacob was a popular boy's name between 2000 and 2009." or "Sophia was a popular girl's name between 2000 and 2009." If the name was not a popular name, like Voldemort, the program should print "Voldemort was not a popular boy's name between 2000 and 2009." If the user chooses to input both a girl and boy's name, ask for the boy's name, then the girl's name, and print two statements in the form mentioned above on two separate lines, with the statement about the boy's name coming first. For example, if the user inputs Voldemort and then Sophia, print: Voldemort was not a popular boy's name between 2000 and 2009. Sophia was a popular girl's name between 2000 and 2009.
My code is working perfectly on boy and girl but it only reads that a name was not popular for boy and girl when running both.
def searchBoyName(boysList, name): #Searching for given boy name in list if name in boysList: #If found print("\n " + str(name) + " was a popular boy's name between 2000 and 2009. \n"); else: #If not found print("\n " + str(name) + " was not a popular boy's name between 2000 and 2009. \n"); def searchGirlName(girlsList, name): #Searching for given girl name in list if name in girlsList: #If found print("\n " + str(name) + " was a popular girl's name between 2000 and 2009. \n"); else: #If not found print("\n " + str(name) + " was not a popular girl's name between 2000 and 2009. \n"); def main(): #Reading data from files boysList = open("BoyNames.txt", "r"); girlsList = open("GirlNames.txt", "r"); #Initializing lists boyNames = []; girlNames = []; #Adding boys names for name in boysList: name = name.strip(); boyNames.append(name); #Adding girls names for name in girlsList: name = name.strip(); girlNames.append(name); #Accepting input from user type = input("\n Enter 'boy', 'girl', or 'both':"); #Searching for boy name if type == "boy": # Reading boy name bname = input("\n\n Input a boy name: "); # Searching searchBoyName(boyNames, bname) #Searching for girl name elif type == "girl": #Reading girl name gname = input("\n\n Input a girl name: "); #Searching searchGirlName(girlNames, gname); #Searching for both elif type == "both": #Searching for given boy name in list bname = input("\n\n Input a boy name: "); #Reading girl name gname = input("\n\n Input a girl name: "); if bname in boysList: #If found print("\n " + str(bname) + " was a popular boy's name between 2000 and 2009. \n"); elif bname not in boysList: #If not found print("\n " + str(bname) + " was not a popular boy's name between 2000 and 2009. \n"); #Searching for given girl name in list if gname in girlsList: #If found print("\n " + str(gname) + " was a popular girl's name between 2000 and 2009. \n"); elif gname not in girlsList: #If not found print("\n " + str(gname) + " was not a popular girl's name between 2000 and 2009. \n"); else: print("\n Invalid selection.... \n"); #Calling main function main();
In: Computer Science
If you were a CFO of a publicly-traded firm. How would you disclose to the public the impact of the pandemic on your firm's income statement? What measures would you take to make such disclosures in order to ensure you maintain legal and ethical standards? Use citations to support your positions.
In: Finance
In: Nursing
In: Nursing
The assigned reading by Burnett,Porter and Stallings(2011)emphasizes the advantages of an intergrated treatment approach for a co occuring disorders( dual diagnosis)Discuss the advantages of integrating treatments compared to treating each separately.What are the barriers to implementing an integrated approach and how they can be approached
iNSTRUCTION
One page
Three citations
In: Nursing
Craft a paragraph that describes assays of synaptic function in C. elegans. Below is a topic sentence for this paragraph. Finish this paragraph. Be sure to provide appropriate citations in the bibliographic format of your choosing.
Pharmacological based assays have been optimized to identify synaptic defects within mutant strains of C. elegans.
In: Anatomy and Physiology
In this week’s readings, you learned about other types of cost classifications, such as differential costs, sunk costs, and opportunity costs. Discuss how these concepts are used in managerial decision making? Include an example in your response. Please be sure to validate your opinions and ideas with citations and references in APA format.
In: Finance
Screening tests for genetic issues can be performed in the first
trimester, second trimester or both trimesters. Carrier testing is
also an option performed prior to or during pregnancy. Carrier
testing provides information as to whether one or both parents are
carriers for certain inherited disorders. The results of these
tests are used to determine an appropriate plan of care for the
patient.
Genetic testing of the fetus and the parents offer both
opportunities and ethical challenges. As a Registered Nurse, you
need to be aware of your own feelings to provide non-biased
professional support.
Compose a response to the following:
Implications of genetic testing and the role of the registered nurse in providing support to a couple seeking guidance. Provide one example of how genetic testing is used in the reproductive (preconception, conception, pregnancy) setting.
Consider if the registered nurse has the right to refuse to care for patients who choose termination of a pregnancy based on genetic testing when it conflicts with the ethics and values of the nurse.
Discuss how medical, economic, or psychosocial issues might impact decision making relative to genetic testing.
Base your initial post on your readings and research on this topic. Your initial post must contain a minimum of 250 words. References, citations, and repeating the question do not count towards the 250-word minimum.
In: Nursing
Introduction/Discussion Task: Often, business decisions involve choosing between alternative courses of action, and companies tend to want to find the alternative that offers the highest revenue or the most significant reduction in costs. Non-routine decisions use differential analysis. These include make-or-buy choices, whether to retain or drop a product line, or even if a customer should be retained or dropped. In using differential analysis, common revenues and costs are factored out of the assessment, thereby focusing on revenue and cost information that is specific to a given product, customer, or another point to be analyzed. Use the basic knowledge acquired from differential analysis to respond to the following discussion task: Continuing with the company selected in Unit 2, think about the types of financial data that would be included and excluded in differential analysis. Propose which specific revenues and costs should be considered in an evaluation to drop or keep a: Customer Product line In addition, explain sunk and opportunity costs as they relate to your selected company. Should these costs be considered in differential analysis? Why or why not?
Note: Your discussion should have a minimum of 2 450 words. Please include a word count. Following the APA standard, use references and in-text citations from the textbook and any other sources.
In: Accounting