mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Fixes broken "Create guess_the_number_search.py" (#8746)
This commit is contained in:
parent
a2783c6597
commit
9b3e4028c6
|
@ -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)
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user