From 694598dcc9d05f885fdcb11683df7f0f7ac7897d Mon Sep 17 00:00:00 2001 From: "s.ashour82" Date: Sun, 12 Jan 2025 10:03:41 +0200 Subject: [PATCH 1/3] Update README.md crafting is done --- solutions/README.md | 157 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) diff --git a/solutions/README.md b/solutions/README.md index 9852346d2..cff2c0c69 100644 --- a/solutions/README.md +++ b/solutions/README.md @@ -1 +1,158 @@ # Solutions + +## This file contains a brief on the challenges completed by Group 18 Team + +### factorial + +- **description:** A module for Computing the factorial of + a non-negative integer n. + +- **written by:** Saad (sashour82) + +- **reviewed by:** Luyandochitindi (Luyando-Chitindi) + +### is_palinrome + +- **description:** A module for checking if a given string is + a palindrome (reads the same backward as forward). + +- **written by:** Saad (sashour82) + +- **reviewed by:** Falaq (FalaqMajeed) + +### is_even + +- **description:** A module that contains a function that checks if a number is even. + +- **written by:** Luyandochitindi (Luyando-Chitindi) + +- **reviewed by:** Mohammed (Moealfadil) + +### is_positive + +- **description:** A module that contains a function that checks if a number is positive. + +- **written by:** Luyandochitindi (Luyando-Chitindi) + +- **reviewed by:** Muna (Muna-S) + +### mean + +- **description:** Calculates the mean of numbers in a list + +- **written by:** Mohammed (Moealfadil) + +- **reviewed by:** Falaq (FalaqMajeed) + +### is_prime + +- **description:** Checks if a number is prime or not + +- **written by:** Mohammed (Moealfadil) + +- **reviewed by:** Luyandochitindi (Luyando-Chitindi) + +### cumulative_sum + +- **description:** Calculates the cumulative sum of a list by iterating + through its elements and maintaining a running total + +- **written by:** Falaq (FalaqMajeed) + +- **reviewed by:** Mohammed (Moealfadil) + +### list_to_string + +- **description:** Converts a list into a single string + +- **written by:** Falaq (FalaqMajeed) + +- **reviewed by:** Raghad (raghad598) + +### max_in + +- **description:** Find the maximum number in a list + +- **written by:** TagwaHashim (TagwaHashim) + +- **reviewed by:** Raghad (raghad598) + +### sum_of + +- **description:** Calculate the summation of two numbers + +- **written by:** TagwaHashim (TagwaHashim) + +- **reviewed by:** Muna (Muna-S) + +### binary_to_decimal + +- **description:** Give the decimal number for a binary + +- **written by:** Muna (Muna-S) + +- **reviewed by:** TagwaHashim (TagwaHashim) + +### leap_year + +- **description:** Checks whether a year is a leap year + +- **written by:** Muna (Muna-S) + +- **reviewed by:** TagwaHashim (TagwaHashim) + +### remove_duplicates + +- **description:** Take a list and return it without any repeated values + +- **written by:** Heba (HebaShaheen) + +- **reviewed by:** Saad (sashour82) + +### decimal_to_binary + +- **description:** Give the binary number for a decimal + +- **written by:** Heba (HebaShaheen) + +- **reviewed by:** Saad (sashour82) + +### count_words + +- **description:** Counts the number of words in a string + +- **written by:** Raghad (raghad598) + +- **reviewed by:** Saad (sashour82) + +### area_of_circle + +- **description:** Calculates the area of a circle given its radius + +- **written by:** Raghad (raghad598) + +- **reviewed by:** Mohammed (Moealfadil) + +### hex_to_binary + +- **description:** Converts a hexadecimal string to its binary equivalent + +- **written by:** Marc (MarcDarazi99) + +- **reviewed by:** Mohammed (Moealfadil) + +### hex_to_binary + +- **description:** Converts a hexadecimal string to its binary equivalent + +- **written by:** Marc (MarcDarazi99) + +- **reviewed by:** Mohammed (Moealfadil) + +### binary_to_hex + +- **description:** Converts a binary string to its hexadecimal equivalent + +- **written by:** Marc (MarcDarazi99) + +- **reviewed by:** Mohammed (Moealfadil), Heba (HebaShaheen) From 46e8fb261b2ec53ad89627991d7eb6f1cd2870d1 Mon Sep 17 00:00:00 2001 From: "s.ashour82" Date: Sun, 12 Jan 2025 10:13:20 +0200 Subject: [PATCH 2/3] Update README.md file edited by removing duplication in headers --- solutions/README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/solutions/README.md b/solutions/README.md index cff2c0c69..af395340b 100644 --- a/solutions/README.md +++ b/solutions/README.md @@ -141,14 +141,6 @@ - **reviewed by:** Mohammed (Moealfadil) -### hex_to_binary - -- **description:** Converts a hexadecimal string to its binary equivalent - -- **written by:** Marc (MarcDarazi99) - -- **reviewed by:** Mohammed (Moealfadil) - ### binary_to_hex - **description:** Converts a binary string to its hexadecimal equivalent From 6e4feb7cf3900ef4b8b492946c3ceefe1a266f9c Mon Sep 17 00:00:00 2001 From: "s.ashour82" Date: Sun, 12 Jan 2025 10:43:56 +0200 Subject: [PATCH 3/3] Update README.md --- solutions/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/README.md b/solutions/README.md index af395340b..fa4618a6b 100644 --- a/solutions/README.md +++ b/solutions/README.md @@ -91,7 +91,7 @@ - **written by:** Muna (Muna-S) -- **reviewed by:** TagwaHashim (TagwaHashim) +- **reviewed by:** TagwaHashim (TagwaHashim), Falaq (FalaqMajeed) ### leap_year @@ -147,4 +147,4 @@ - **written by:** Marc (MarcDarazi99) -- **reviewed by:** Mohammed (Moealfadil), Heba (HebaShaheen) +- **reviewed by:** Mohammed (Moealfadil), Heba (HebaShaheen), Falaq (FalaqMajeed)