Focus mode
boolean
veri tipleri üzerine uygulanabilecek mantıksal operatörlere bakacağız.boolean
olmalı.not
not True
False
not False
True
not 5 < 6
False
not 5 == 5
False
a = 4
b = 10
not a < b
False
not (a > b)
True
and
True
ise True
sonucu verir, yoksa False
olur.True and True
True
True and False
False
False and False
False
a = 4
b = 1
c = 10
(a > b) and (b < c)
True
(a > b) and (b > c)
False
or
False
ise False
sonucu verir, yoksa True
olur.True or True
True
True or False
True
False or False
False
a = 4
b = 1
c = 10
(a > b) or (b < c)
True
(a > b) or (b > c)
True
(a < b) or (b > c)
False
Programs to Accelerate Your Progress in a Software Career
Join our 4-8 month intensive Patika+ bootcamps, start with the fundamentals and gain comprehensive knowledge to kickstart your software career!
You need to enroll in the course to be able to comment!