mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-07 03:07:46 +08:00
[pre-commit.ci] pre-commit autoupdate (#12623)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.10 → v0.11.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.10...v0.11.0) - [github.com/abravalheri/validate-pyproject: v0.23 → v0.24](https://github.com/abravalheri/validate-pyproject/compare/v0.23...v0.24) * Fix ruff issues --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
![66853113+pre-commit-ci[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
7ce998b91c
commit
edf7c372a9
@ -15,12 +15,12 @@ def rotator():
|
||||
gear_one.append(i)
|
||||
del gear_one[0]
|
||||
gear_one_pos += 1
|
||||
if gear_one_pos % int(len(alphabets)) == 0:
|
||||
if gear_one_pos % len(alphabets) == 0:
|
||||
i = gear_two[0]
|
||||
gear_two.append(i)
|
||||
del gear_two[0]
|
||||
gear_two_pos += 1
|
||||
if gear_two_pos % int(len(alphabets)) == 0:
|
||||
if gear_two_pos % len(alphabets) == 0:
|
||||
i = gear_three[0]
|
||||
gear_three.append(i)
|
||||
del gear_three[0]
|
||||
|
Reference in New Issue
Block a user