Q. Given the following Boolean variables, what would be the output of the following statements?
x = True
y = False
z = False
(a) print(not x or y)
(b) print(not x or not y and z)
(c) print(not x or y or not y and x)
(d) print('ant' < 'amoeba')
Answer :-
(a) False
(b) False
(c) True
(d) False
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )