上传者: 52245506
|
上传时间: 2022-06-02 14:03:49
|
文件大小: 2KB
|
文件类型: PY
The third lock consists of a stone with a set of irreaular holes carved out of itLin realises that an oddly-shapec gem found elsewhere in the cave that might fit this lock.Your task is to write a function third lock(kev,stone)that determines whether the"keygem will fit the patterr
of holes in the"stone"lock.If the kev is smaller than the stonethen the key can be moved to any location relative to the stoneso ona as it doesn't extend bevond the edae of the stone in any directionThe key can aso。。