The correct answer is Boolean logic.
Booleans are true or false statements.
An example of a while loop is:
while 1 < 5:
#do something.
The Boolean statement is 1 < 5 which evaluates to true because 1 is less than 5.
I hope this helps!
Answer:
Explanation:
print(list1)
['C++', 'JAVA', 'ASP.PHP']
[2:-2]
Gets 2 position(C++) to -2 position(ASP.PHP), JAVA is in the Middle
print(list2)
[]
Gets middle of C++(nothing)
print(list3)
['Python', 'JAVA', 'MySQL']
Get first, jump 3, get first...
'get', 'any', 'any', 'get', 'any', 'any', 'get', ...
Answer:
missing quotation marks around a string literal
Question 1:
4. it increases the number of employees
Question 2:
2. false
Question 3:
2. it causes great damage to the ozone layer
Question 4:
1. true