Fixes broken "Create guess_the_number_search.py" (#8746)

This commit is contained in:
Caeden Perelli-Harris 2023-05-17 07:47:23 +01:00 committed by GitHub
parent a2783c6597
commit 9b3e4028c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -605,6 +605,7 @@
* [Newton Raphson](maths/newton_raphson.py) * [Newton Raphson](maths/newton_raphson.py)
* [Number Of Digits](maths/number_of_digits.py) * [Number Of Digits](maths/number_of_digits.py)
* [Numerical Integration](maths/numerical_integration.py) * [Numerical Integration](maths/numerical_integration.py)
* [Odd Sieve](maths/odd_sieve.py)
* [Perfect Cube](maths/perfect_cube.py) * [Perfect Cube](maths/perfect_cube.py)
* [Perfect Number](maths/perfect_number.py) * [Perfect Number](maths/perfect_number.py)
* [Perfect Square](maths/perfect_square.py) * [Perfect Square](maths/perfect_square.py)
@ -712,6 +713,7 @@
* [Gauss Easter](other/gauss_easter.py) * [Gauss Easter](other/gauss_easter.py)
* [Graham Scan](other/graham_scan.py) * [Graham Scan](other/graham_scan.py)
* [Greedy](other/greedy.py) * [Greedy](other/greedy.py)
* [Guess The Number Search](other/guess_the_number_search.py)
* [H Index](other/h_index.py) * [H Index](other/h_index.py)
* [Least Recently Used](other/least_recently_used.py) * [Least Recently Used](other/least_recently_used.py)
* [Lfu Cache](other/lfu_cache.py) * [Lfu Cache](other/lfu_cache.py)

View File

@ -148,7 +148,7 @@ def guess_the_number(lower: int, higher: int, to_guess: int) -> None:
break break
print(f"guess the number : {last_numbers[-1]}") print(f"guess the number : {last_numbers[-1]}")
print(f"details : {str(last_numbers)}") print(f"details : {last_numbers!s}")
def main() -> None: def main() -> None: