KnowledgeBoat Logo
|

Informatics Practices

Evaluate the following expression:

(i) 12/3+4**2-6/3

(ii) not True or False and True

Python Funda

1 Like

Answer

(i) 12 / 3 + 4**2 - 6 / 3
    = 12 / 3 + 16 - 6 / 3
    = 4 + 16 - 2
    = 20 - 2
    = 18

(ii) not True or False and True
     = False or False and True
     = False or False
     = False

Answered By

3 Likes


Related Questions