디버깅 퀴즈
Python 디버깅 퀴즈
지침: 각 질문에 대한 가장 좋은 답변을 선택하고 클릭하세요. 퀴즈 제출.
";
}else{
output+=""+question.toUpperCase()+" ✘ Incorrect (Correct Answer: "+answers[question].toUpperCase()+")
";
}
}else{
output+=""+question.toUpperCase()+" Not Answered
";
}
}
let percentage=(score/10)*100;
output+="
";
output+="Score: "+score+" / 10
";
output+="Percentage: "+percentage+"%
";
if(percentage>=90){
output+="Outstanding! 🏆
";
}
else if(percentage>=70){
output+="Good Job! 👍
";
}
else{
output+="Keep Practicing! 📚
";
}
document.getElementById("results").style.display="block";
document.getElementById("results").innerHTML=output;
window.scrollTo({
top:document.body.scrollHeight,
behavior:"smooth"
});
}