mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Tighten up psf/black and flake8 (#2024)
* Tighten up psf/black and flake8 * Fix some tests * Fix some E741 * Fix some E741 * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -79,24 +79,23 @@ def reset():
|
||||
machine_time = 0
|
||||
|
||||
|
||||
#######################################
|
||||
if __name__ == "__main__":
|
||||
# Initialization
|
||||
reset()
|
||||
|
||||
# Initialization
|
||||
reset()
|
||||
# Pushing Data (Input)
|
||||
import random
|
||||
|
||||
# Pushing Data (Input)
|
||||
import random
|
||||
message = random.sample(range(0xFFFFFFFF), 100)
|
||||
for chunk in message:
|
||||
push(chunk)
|
||||
|
||||
message = random.sample(range(0xFFFFFFFF), 100)
|
||||
for chunk in message:
|
||||
push(chunk)
|
||||
# for controlling
|
||||
inp = ""
|
||||
|
||||
# for controlling
|
||||
inp = ""
|
||||
|
||||
# Pulling Data (Output)
|
||||
while inp in ("e", "E"):
|
||||
print("%s" % format(pull(), "#04x"))
|
||||
print(buffer_space)
|
||||
print(params_space)
|
||||
inp = input("(e)exit? ").strip()
|
||||
# Pulling Data (Output)
|
||||
while inp in ("e", "E"):
|
||||
print("%s" % format(pull(), "#04x"))
|
||||
print(buffer_space)
|
||||
print(params_space)
|
||||
inp = input("(e)exit? ").strip()
|
||||
|
Reference in New Issue
Block a user