-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsix.py
More file actions
66 lines (53 loc) · 1.32 KB
/
six.py
File metadata and controls
66 lines (53 loc) · 1.32 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
number = 4
number1 = 5
number2 = 6
isDogReal = True
isDogFake = True
carRunning = False
doorOpen = True
speed = 30
yourPassword = "stupidLength"
aWallet = ["dollors", "cents", "cards"]
walletTag = "cardss"
treasureChest = "gold"
treasureItem = "gold"
counter = 10
numbersObj = [1, 2, 3]
numbersOtherObj = [1, 2, 3]
barName = "Harrys Bar"
barSite = "PortofSpain"
print(number == 4)
print(number1 != 4)
print(number == 7)
if isDogReal:
print("Yes dog is reald")
if isDogFake != False:
print("Dog is fake")
if carRunning:
print("Car is running")
else:
print("Car not running")
if carRunning or doorOpen:
print("Don't go outside")
else:
print("You can leave the car")
if yourPassword == "stupidLength":
print("This password works")
else:
print("this password doesnt work")
if walletTag in aWallet:
print("You have " + walletTag)
if treasureItem in treasureChest:
print("You have gold")
elif treasureItem in treasureChest:
print("you have silver")
if counter == 4:
print("counter = 4", "- Is counter 4")
elif counter == 5:
print("counter = 5", "- Is counter 5")
else:
print("Counter is whatever it is")
print(not isDogFake, "- is dog fake")
print(numbersObj == numbersOtherObj, "-Check equality")
print(numbersObj is numbersOtherObj, "-Is on numbers")
print(barName is barSite, "- Bar info")