photo

Saravana priya


Last seen: 4 months ago Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to remove consecutive duplicates ?
for ex, step1=[{1}, {7,8}, {2}, {2}, {5}} I want my output to be step2=[{1}, {7,8}, {2}, {5}] Can anyone help me?

6 years ago | 1 answer | 0

1

answer