def case_sensitive(stem, word):
 ch = []
 for i in range(len(stem)):
  if (word[i] == word[i].upper()):
   ch.append(stem[i].upper())
  else:
   ch.append(stem[i])
 return ''.join(ch)

def case_sensitive ( stem , word ) : ch = [ ] for i in range ( len ( stem ) ) : if ( word [ i ] == word [ i ] . upper ( ) ) : ch . append ( stem [ i ] . upper ( ) ) else : ch . append ( stem [ i ] ) return '' . join ( ch )
check whether the filesystem at the given path is case sensitive .