Skip to content

Commit 68dcee6

Browse files
Update math-code-test-d.py
1 parent 95df62c commit 68dcee6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

math-code-test-d.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ def step19(code):
237237
import re
238238
print(" ")
239239
code_count = 0
240-
# = round(math.cos(math.radians(rangle)), 4)
241-
if side_b==0:
240+
if re.search("side\_b\s*\=\s*0", code):
242241
print("Scroll up to see the example, then write the code to solve for b")
243242
elif re.search("\=\s*round\(math\.cos\(math\.radians\(rangle\)\)\,\s*4\)", code):
244243
code_count = code_count + 1

0 commit comments

Comments
 (0)