We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit c38791bCopy full SHA for c38791b
temperature.py
@@ -0,0 +1,13 @@
1
+# Starting Out with Python (4th Edition).
2
+# Tony Gaddis.
3
+# Page 187.
4
+# Chemical Labs Inc.
5
+temperature = float(input("Read Temperature of Substance: "))
6
+
7
+while temperature > 102.5:
8
+ print("Turn Down Thermostat.")
9
+ print("Wait for 5 minutes.")
10
+ temperature = float(input("Read Temperature of Substance (After 5 minutes.): "))
11
12
+print("Temperature is acceptable.")
13
+print("Check again after 15 minutes.")
0 commit comments