PythonProgrammingPuzzles icon indicating copy to clipboard operation
PythonProgrammingPuzzles copied to clipboard

New puzzle

Open akalai opened this issue 4 years ago • 2 comments

def sat(x: str): 
    return ("hello" * 1000).count(x) == 999

Solution hidden below so that other people can try to solve it.

Reveal solution
def sol():
    return "oh"

Please post your solutions to this puzzle in the comments using the following formatting:

<details><summary>Reveal solution</summary>
```python
def sol():
    return "world"  # replace with your solution
```
</details>

akalai avatar Jun 15 '21 16:06 akalai

Reveal solution
def sol():
    return "elloh"  # replace with your solution

mlb2251 avatar Jun 16 '21 13:06 mlb2251

Reveal solution
def sol():
    return "ohell"

ghost avatar Jun 27 '21 13:06 ghost