def getCapitalizedSuffixKey(prefix, suffix):
 if ((prefix == '') or prefix.endswith('.')):
  return (prefix + suffix)
 return ((prefix + suffix[:1].upper()) + suffix[1:])

def getCapitalizedSuffixKey ( prefix , suffix ) : if ( ( prefix == '' ) or prefix . endswith ( '.' ) ) : return ( prefix + suffix ) return ( ( prefix + suffix [ : 1 ] . upper ( ) ) + suffix [ 1 : ] )
get key with capitalized suffix .