Ask coding questions

← Back to all posts
What is wrong?
PhantomLegend (0)

so this is a code dictionary as you can probably tell. However on line 99 there is an inexplicable Syntax error.
Any suggestions?

Answered by RYANTADIPARTHI (6008) [earned 5 cycles]
View Answer
Comments
hotnewtop
RYANTADIPARTHI (6008)

Solution

on line 97 of your code, you are missing a ). Just put that, and line 98 won't have the red line underneath.

print(random.choice(cl_list)) # added a )

like that.
That should work

19ecal (230)

@RYANTADIPARTHI You mean that line 98 is missing a ) not 97

catspython (27)

@19ecal yes I think that's what they mean.

PhantomLegend (0)

thanks for this it really helped i miss small things like this alot @RYANTADIPARTHI

RYANTADIPARTHI (6008)

@PhantomLegend no problem. Click check mark please.