Answer:
The answer to this question is given below in the explanation section.
Explanation:
The given compound statement are:
4 < 3 and 5 < 10
4 <3 or 5 < 10
not (5 > 13)
4 < 3 and 5 < 10 this statement is false because "and" logical operator required that both operand (4<3) and (5<10) are true. Statement (4<3) is a false statement so this statement is false. "and" operator becomes true when all its inputs are true otherwise it becomes false.
4 < 3 or 5 < 10 this statement is true because "or" logical operator to be true if one of its input is true and false when all inputs are false. so in this compound statement, the first statement is false and the second statement is true. so this compound statement is true.
not(5>13) this compound statement is true because it has "not" operator and "not" operator makes a false statement to true and vice versa. so (5>13) is a false statement, and when you append "not" operator before it, then this compound statement will become true statement, so this is a true statement.
Answer:
hii
Explanation
syntax error: a syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in compile-time. A program will not compile until all syntax errors are corrected.
logic error: logic error is a bug in a program that causes it to operate incorrectly, but not to terminate abnormally. A logic error produces unintended or undesired output or other behaviour, although it may not immediately be recognized as such.
Answer:
people = list(map(int, input().split())) # gets input and makes them into an integer
for i in range(len(people)):
if 0 <= people[i] <= 5:
print('Baby') # You didn't specify how you want to 'store' the info, but I'm just going to print it out
elif 6 <= people[i] <= 17:
print('Teen')
elif 18 <= people[i]:
print('Adults')
Explanation:
This is the basic structure of the code. This is written in Python 3x. If you are writing in a different language, then just use the template given to you!
Answer:
Spin button.
Explanation:
Spread sheet applications are softwares used to analyze and manipulate data for clean and easy data presentation.
It is composed of columns or fields and rows or records to make a worksheet of a workbook in the application. Each box on the worksheet is called a cell.
Data can be inputted directly to a cell or with functions and formulas and with the form control feature.
Form control is use to specify the range of input to use in cells for easy data input. The spin button of the form control is used to input data by pressing the up and down arrow key on the keyboard.