diff --git a/Sololearn CodeCoach Challenges/Python/DejaVu.py b/Sololearn CodeCoach Challenges/Python/DejaVu.py new file mode 100644 index 0000000..6abc538 --- /dev/null +++ b/Sololearn CodeCoach Challenges/Python/DejaVu.py @@ -0,0 +1,11 @@ +s = input() +c = 0 +for l in s: + if s.count(l) > 1: + c += s.count(l) + +c -= int(c/2) +if c > 1: + print('Deja Vu') +else: + print('Unique')