Answer:
int()
Explanation:
float() is using decimals, so that can't be it, like float(input( "how much does this cost?"))
print() is used to print something, not a user asking, like print("hello")
string() means like a whole, like string( I am good)
By elimination, int() is correct.
Hope this helps!
Answer:
Explanation:
The power needed to make the escalator working is obtained by means of the Work-Energy Theorem:
The mechanical efficiency of the escalator is:
Answer: Incoherent question
Explanation: This is an act of plagiarism at subjecting the tutor to unnecessary stress at answering the purported question.
Answer:
The solution code is written in Python 3.
- carYear = 1995
- if(carYear < 1967):
- print("Probably has few safety features.\n")
- if(carYear > 1970):
- print("Probably has head rests. \n")
- if(carYear > 1991):
- print("Probably has electronic stability control.\n")
- if(carYear > 2002):
- print("Probably has airbags. \n")
Explanation:
Firstly, create a variable, <em>carYear</em> to hold the value of year of the car make. (Line 1)
Next, create multiple if statements as required by the question (Line 3-13). The operator "<" denotes "smaller" and therefore <em>carYear < 1967</em> means any year before 1967. On another hand, the operator ">" denotes "bigger" and therefore <em>carYear > 1970 </em>means any year after 1970.
The print statement in each of the if statements is done using the Python built-in function <em>print()</em>. The "\n" is an escape sequence that create a new line at the end of each printed phrase.
it is technician B i belive im not sure the question tho