const mot = "nicolewrobel";
let motInverse = "";
for (let i = 0; i < mot.length; i++) {
motInverse = mot[i] + motInverse;
}
if (mot === motInverse) {
console.log("Palindrone")
}else {
console.log("no palindrone")
}
console.log(motInverse)