Just so.else
answer "Incorrect guess, try again"
end if
The reason I asked the questions I did is because of the above. You are generally not using the correct syntax, which is why I thought you were very new to LC. You seem to be using syntax from another language (Python?).currentChoice = [1, 2, 3, 4, 5]
print(random(.)choices(currentChoice))
An array variable is populated differently than your statement above, though I see the logic of it. The print line just is not valid in several ways. The good news is that you appear to have experience, and all you need is to learn just a little of the LC language and structure. That is what I meant when I said you need to play and practice.
Read up on the "random" function. Also on the "any" keyword. Also an "array" in LC is a special and very compact variable type. It is populated and read as Klaus mentioned. It needs practice to master.
So keep at this project. But read and play as well.
craig