Home / Expert Answers / Computer Science / please-help-i-will-give-a-thumbs-up-for-the-full-and-complete-solution-hw7-py-is-provided-below-in-pa414

(Solved): Please help. I will give a thumbs up for the full and complete solution. Hw7.py is provided below in ...



Please help. I will give a thumbs up for the full and complete solution. Hw7.py is provided below in a format you can copy and paste. 
I know it may look like a lot because of all the text but this just requires 2 short python scripts that are fairly similar. Please code in python and use simple methods for reading in and out of lists or dictionaries. Please do not include any special libraries. 
Thank you




you will start with the python script hw7.py. This script contains a multi-line string that is printed out when the script is


Here are some hints of things to consider in accomplishing the above assignments:
- The split() method separates a string int


hw7.py file 

string_words = '''An extrinsic semi-conductor is one that has been doped; during manufacture of the semi-conductor crystal a trace element or chemical called a doping agent has been incorporated chemically into the crystal, for the purpose of giving it different electrical properties than the pure semi-conductor crystal, which is called an intrinsic semi-conductor. In an extrinsic semi-conductor it is these foreign dopant atoms in the crystal lattice that mainly provide the charge carriers which carry electric current through the crystal. The doping agents used are of two types, resulting in two types of extrinsic semi-conductor. An electron donor dopant is an atom which, when incorporated in the crystal, releases a mobile conduction electron into the crystal lattice. An extrinsic semi-conductor which has been doped with electron donor atoms is called an n-type semi- conductor, because the majority of charge carriers in the crystal are negative electrons. an electron acceptor dopant is an atom which accepts an electron from the lattice, creating a vacancy where an electron should be called a hole which can move through the crystal like a positively charged particle. An extrinsic semi-conductor which has been doped with electron acceptor atoms is called a p-type semi-conductor, because the majority of charge carriers in the crystal are positive holes.
Doping is the key to the extraordinarily wide range of electrical behavior that semi-conductors can exhibit, and extrinsic semi-conductors are used to make semi-conductor electronic devices such as diodes, transistors, integrated circuits, semi-conductor lasers, LEDs, and photovoltaic cells. sophisticated semi-conductor fabrication processes like photolithography can implant different dopant elements in different regions of the same semi-conductor crystal wafer, creating semi- conductor devices on the wafer's surface. For example a common type of transistor, the n-p-n bipolar transistor, consists of an extrinsic semi-conductor crystal with two regions of n-type semi- conductor, separated by a region of p-type semi-conductor, with metal contacts attached to each part.
semi-conductor doping is the process that changes an intrinsic semi-conductor to an extrinsic semi-conductor. during doping, impurity atoms are introduced to an intrinsic semi-conductor. Impurity atoms are atoms of a different element than the atoms of the intrinsic semi-conductor. Impurity atoms act as either donors or acceptors to the intrinsic semi-conductor, changing the electron and hole concentrations of the semi-conductor. Impurity atoms are classified as either donor or acceptor atoms based on the effect they have on the intrinsic semi-conductor.
Donor impurity atoms have more valence electrons than the atoms they replace in the intrinsic semi- conductor lattice. Donor impurities "donate" their extra valence electrons to a semi-conductor's conduction band, providing excess electrons to the intrinsic semi-conductor. excess electrons increase the electron carrier concentration (n0) of the semi-conductor, making it n-type.
Acceptor impurity atoms have fewer valence electrons than the atoms they replace in the intrinsic semi-conductor lattice. they "accept" electrons from the semi-conductor's valence band. This provides excess holes to the intrinsic semi-conductor. Excess holes increase the hole carrier concentration (p0) of the semi-conductor, creating a p-type semi-conductor.
semi-conductors and dopant atoms are defined by the column of the periodic table in which they fall. The column definition of the semi-conductor determines how many valence electrons its atoms have and whether dopant atoms act as the semi-conductor's donors or acceptors. '''
print("String:\n {} \n".format(string_words))

you will start with the python script hw7.py. This script contains a multi-line string that is printed out when the script is run. Using this as a starting point, you will write the following scribts. 3) Write a script that changes each and every instance of the word 'semi-conductor' to 'semiconductor' and then prints out the string with those changes. 4) Write a new script that makes all of the corrections described in 3) above AND checks the capitalization of the first letter of the first word in each sentence. If that letter is not capitalized, then your script should capitalize it correctly. The script should then then print out the string with those changes. you should write four separate scripts - one for each requirement above. The scripts should mclude the string provided in the hw.py script. It is not necessary to print out the original string as is done in the low py script. Here are some hints of things to consider in accomplishing the above assignments: - The split() method separates a string into a list of individual words - The count() method counts the occurrence of a particular element in a list - The zip() method combines two or more lists of individual elements into a list of tuples - A list of tuples can be sorted on any element in the tuples - While a list may contain duplicate elements, a dictionary may not - a list can be converted to a dictionary and then converted back to a list


We have an Answer from Expert

View Expert Answer

Expert Answer


3) Write a script that changes each and every instance of the semi-conductor to semiconductor and prints the changes on the standard output. def main(
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe