SyntaxError: missing ) after condition


#1

hello.
I have this problem with my exercise:

var userChoice = prompt("Do you choose rock, paper or scissors?");
console.log(userChoice);
var computerChoice = Math.random();
console.log(computerChoice);
if (computerChoice >= 0 and <= 0,33) {
computerChoice = "rock";
} else if (computerChoice >= 0,34 and <= 0,66) {
computerChoice = "paper";
} else {
computerChoice = "scissors";
};
console.log(computerChoice);


after clicking on "Save & Submit Code" I get this error message: SyntaxError: missing ) after condition

but, actually, there is no syntax error.
how I can continue the exercise?


#2

You've used comma's instead of periods for your decimal numbers.


#3

Thanks for your help.
Sorry for the mistake, but in Italy we use commas instead of periods in decimal numbers