From 3d129a4964b335fe7977e6376935fc916b6df3c9 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 7 Apr 2020 11:58:23 +0200 Subject: [PATCH] Create Python/quantum/README.md (#1834) * Create Python/quantum/README.md Started at #1831 * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> --- quantum/README.md | 8 ++++++++ strings/reverse_words.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 quantum/README.md diff --git a/quantum/README.md b/quantum/README.md new file mode 100644 index 000000000..8dfc76826 --- /dev/null +++ b/quantum/README.md @@ -0,0 +1,8 @@ +# Welcome to Quatum Algorithms + +Started at https://github.com/TheAlgorithms/Python/issues/1831 + +* D-Wave: https://www.dwavesys.com and https://github.com/dwavesystems +* Google: https://research.google/teams/applied-science/quantum +* IBM: https://qiskit.org and https://github.com/Qiskit +* Rigetti: https://rigetti.com and https://github.com/rigetti diff --git a/strings/reverse_words.py b/strings/reverse_words.py index 547dda93d..6b5cc6b04 100644 --- a/strings/reverse_words.py +++ b/strings/reverse_words.py @@ -14,7 +14,7 @@ def reverse_words(input_str: str) -> str: input_str = input_str.split(" ") new_str = list() - return ' '.join(reversed(input_str)) + return " ".join(reversed(input_str)) if __name__ == "__main__":