-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex28.py
More file actions
41 lines (40 loc) · 845 Bytes
/
Copy pathex28.py
File metadata and controls
41 lines (40 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# True
# False
# False
# True
# True
# True
# False
# True
# False
# False
# True
# False
# True
# False
# False
# False
# True
# True
# False
# False
print(True and True)
print(False and True)
print(1 == 1 and 2 == 1)
print("test" == "test")
print(1 == 1 or 2 != 1 )
print(True and 1 == 1 )
print(False and 0 != 0 )
print(True or 1 == 1)
print("test" == "testing" )
print(1 != 0 and 2 == 1 )
print("test" != "testing" )
print("test" == 1)
print(not (True and False))
print(not (1 == 1 and 0 != 1))
print(not (10 == 1 or 1000 == 1000))
print(not (1 != 10 or 3 == 4))
print(not ("testing" == "testing" and "Zed" == "Cool Guy"))
print(1 == 1 and (not ("testing" == 1 or 1 == 0)))
print("chunky" == "bacon" and (not (3 == 4 or 3 == 3)))
print( 3 == 3 and (not ("testing" == "testing" or "Python" == "Fun")))