input: Write a function to detect if a string contains any duplicate characters.
  assert foundDuplicates("hello") == True
  assert foundDuplicates("world") == False
  assert foundDuplicates("python") == False
output: def foundDuplicates(s):
      return len(s) != len(set(s))