From 7f78b4199c49f9408bf02f39fb3ff3d058f9f9a8 Mon Sep 17 00:00:00 2001 From: Antonio Marceddu Date: Wed, 13 Dec 2023 19:30:47 +0100 Subject: [PATCH 1/2] fix(strings): solved BUG035 --- source/BUG/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BUG/strings.py b/source/BUG/strings.py index 5cdfb0f..628089e 100644 --- a/source/BUG/strings.py +++ b/source/BUG/strings.py @@ -114,7 +114,7 @@ def substring_after(s: str, sub: str) -> str: """ BUG035: substring_after should return the substring after the first occurrence of sub, not before it. """ - result = s.split(sub)[0] + result = s.split(sub)[1] return result From f1f49c2764798759b6ee1c93807705c00575f46d Mon Sep 17 00:00:00 2001 From: Antonio Marceddu Date: Wed, 13 Dec 2023 19:39:17 +0100 Subject: [PATCH 2/2] fix(Part1): solved FAQ002 --- source/FAQ/Part1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/FAQ/Part1.md b/source/FAQ/Part1.md index 43b2c6a..6d49f02 100644 --- a/source/FAQ/Part1.md +++ b/source/FAQ/Part1.md @@ -4,7 +4,7 @@ What is a repository in Git? ### FAQ002 -What Git command is used to clone an existing repository? +What Git command is used to clone an existing repository? clone ### FAQ003 What does the term "commit" mean in Git?