mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 10:31:29 +08:00
Make some ruff fixes (#8154)
* Make some ruff fixes * Undo manual fix * Undo manual fix * Updates from ruff=0.0.251
This commit is contained in:
@ -66,7 +66,7 @@ def counting_sort_string(string):
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Test string sort
|
||||
assert "eghhiiinrsssttt" == counting_sort_string("thisisthestring")
|
||||
assert counting_sort_string("thisisthestring") == "eghhiiinrsssttt"
|
||||
|
||||
user_input = input("Enter numbers separated by a comma:\n").strip()
|
||||
unsorted = [int(item) for item in user_input.split(",")]
|
||||
|
Reference in New Issue
Block a user