Suppose isPrime is a boolean variable, which of the following is the c

Loading

โœช Choose the correct option.

Suppose isPrime is a boolean variable, which of the following is the correct and best statement for testing if isPrime is true.

A. if isPrime = True:
B. if isPrime == True:
C. if isPrime:
D. if not isPrime = False:

Leave a Comment