<풀이 코드>
const str = prompt().split(''); for(var i=0; i<str.length-1; i++){ console.log(str[i], str[i+1]); }