<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
<What do you expect to happen instead?>
```pythonHi,
I am trying to make some code to work, however, whenever I run it, it says “Invalid Syntax”
This is the code (I had copied this from our teacher so I’m pretty sure it should work)
import random
random.seed()
Numlist =
while len(Numlist) <6:
While True:
Num = Random.choice
If Num in Numlist:
Null
else:
Numlist.append(Num)
break
Print(Numlist)
The “invalid syntax” is in line five…
Thanks,
<do not remove the three backticks above>