We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ac966 commit 8b2b3d2Copy full SHA for 8b2b3d2
Strings/Concatenation/tests/test_task.py
@@ -11,4 +11,13 @@ def test_import_hello(self):
11
except ImportError:
12
self.assertTrue(False, msg="Do not rename any variables.")
13
14
+ def test_0_code_len(self):
15
+ with open("concatenation.py", "r") as taskfile:
16
+ lines = taskfile.readlines()
17
+ self.assertTrue(len(lines) == 5, msg="Please do not add or remove any lines from the code file.")
18
19
+ def test_statement_1(self):
20
21
22
+ code = lines[-2]
23
+ self.assertTrue("+" in code, msg="Your solution does not use concatenation.")
0 commit comments