From 0cd23942a5ae0747f7ee1aeb33d921d473bfe3d6 Mon Sep 17 00:00:00 2001 From: SalerSimo Date: Wed, 13 Dec 2023 19:43:24 +0100 Subject: [PATCH 1/2] fix BUG038 --- 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..edfc668 100644 --- a/source/BUG/strings.py +++ b/source/BUG/strings.py @@ -138,7 +138,7 @@ def is_numeric(s: str) -> bool: """ BUG038: is_numeric should check if all characters in the string are numeric, not if the entire string is numeric. """ - result = s.isalpha() + result = s.isnumeric() return result From 0833425eff5e6250656393a770e052160779a9e6 Mon Sep 17 00:00:00 2001 From: SalerSimo Date: Wed, 13 Dec 2023 19:51:32 +0100 Subject: [PATCH 2/2] answer to FAQ037 --- source/FAQ/Part2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/FAQ/Part2.md b/source/FAQ/Part2.md index e1af96d..5e7ea9b 100644 --- a/source/FAQ/Part2.md +++ b/source/FAQ/Part2.md @@ -50,6 +50,7 @@ Why is version control important for managing code in software development? ### FAQ037 Define the acronyms "CPU" and "GPU" in the context of computer hardware. +CPU means Central Processing Unit, GPU means Graphics Processing Unit. ### FAQ038 What programming language is often associated with web development and design?