How to fix error in CL code re: creating fractions

content:

when box1.slope1.submitted and (slope1.latex=“\frac{7}{8}” “Good Job!:white_check_mark:
when box1.submitted “Your answer is incorrect. Please try again. :x:

otherwise “”

How do I fix my error that is showing in otherwise “”?
Syntax Error: Token " ) expected but found none

Please help! Thanks!

It’s expecting a closing parentheses to pair with your opening parentheses before slope1. In this case you don’t really need the parentheses so you can either delete it or add in the closer.

2 Likes