write a program to input a word from the user and remove the consecutive repeated characters by replacing the sequence of repeated characters by its single occurrence
0
Write a program to input a word from the user and remove the consecutive repeated characters by replacing the sequence of repeated characters by its single occurrence.