Skip to content

Commit

Permalink
Deja Vu - Python Implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstan13y authored Dec 31, 2021
1 parent a797e28 commit bac1618
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Sololearn CodeCoach Challenges/Python/DejaVu.py
Original file line number Diff line number Diff line change
@@ -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')

0 comments on commit bac1618

Please sign in to comment.