asked 74.8k views
2 votes
Question 4 Multiple Choice Worth 5 points)

(03.03 LC)
Python uses
to determine whether the condition of a while loop is true or false.
O algebra
O artificial intelligence
Boolean logic
O input

asked
User Calebo
by
8.2k points

1 Answer

3 votes

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!

answered
User Jaypeagi
by
7.6k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.