I am pretty sure the answer is the second gen
Answer:
The expression on line 9 required 2 brackets
Explanation:
Given
The attached code
Required
Why syntax error.
The error points to line 10, but the error is actually from line 9
To get an integer input, the syntax is:
variable-name = int(input("Prompt"))
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
By comparing the syntax to the actual code on line 9, only 1 of the brackets is closed.
<em>This, in Python 3 is a sytax error</em>
Answer:
Following are the correct code to this question:
phrase = "abcdefgh"#defining a variable phrase that holds a string value
print(phrase[3:6])#use print method for slicing and print its value
Output:
def
Explanation:
In the above code, a variable "phrase" is defined that holds a string value, and use a print method, inside the method, the variable is used as a list and use slicing.
It is a characteristic that enables you to access the series parts like strings, tuples, and lists. It also uses for modifying or removing objects in series, in the above slicing it starts from 3 and ends when it equal to the 6th letter, that's why it will print "def".
The numbers of residues separate amino acids that are stabilized by hydrogen bonds in α helices is 3.6 amino acid residues.
<h3>Why are amino acids called residues?</h3>
The Amino acids are known to be compounds that are said to be called residues if there is two or more amino acids that are known to be bond with each other.
Note that the amino group on one amino acid is one that tends to interacts with the carboxyl group and as such form a peptide bond.
Therefore, The numbers of residues separate amino acids that are stabilized by hydrogen bonds in α helices is 3.6 amino acid residues.
Learn more about amino acids from
brainly.com/question/2526971
#SPJ1