8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62966b2 commit bd06bffCopy full SHA for bd06bff
ch08-conditional-logic/1-compare-values.py
@@ -2,6 +2,7 @@
2
# Solutions to review exercises
3
4
5
+# Exercise 1
6
# Test whether these expressions are True or False
7
8
print(1 <= 1)
@@ -10,3 +11,28 @@
10
11
print("good" != "bad")
12
print("good" != "Good")
13
print(123 == "123")
14
+
15
16
+# Exercise 2
17
+# Fill in the blank so that each of the following expressions are True
18
19
+# 3 __ 4
20
+# Any of the following:
21
+3 < 4
22
+3 <= 4
23
+3 != 4
24
25
+# 10 __ 5
26
27
+10 > 5
28
+10 >= 5
29
+10 != 5
30
31
+# "jack" __ "jill"
32
33
+"jack" < "jill"
34
+"jack" <= "jill"
35
+"jack" != "jill"
36
37
+# 42 __ "42"
38
+42 != "42"
0 commit comments