From f9a3a256529a11134eb78b49c28a4680a7a44c7f Mon Sep 17 00:00:00 2001 From: musman17550 Date: Tue, 17 Sep 2024 11:52:16 +0500 Subject: [PATCH 1/3] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..c7a93047 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +A function to rearrange names. From e4b4ce143a12177bd0625c4a8291398f21b7e4e5 Mon Sep 17 00:00:00 2001 From: Muhammad Usman Date: Tue, 17 Sep 2024 12:01:29 +0500 Subject: [PATCH 2/3] Add a simple README.md file. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c7a93047..df3c0a2f 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -A function to rearrange names. +Rearrange +========= + +This module is used for rearranging names. + +This repo has been forked as a practice of "Introduction to Git & GitHub by Google" course. \ No newline at end of file From 07a0d58f37fd5173c28edff37be0e5dea48b806f Mon Sep 17 00:00:00 2001 From: Muhammad Usman Date: Tue, 17 Sep 2024 17:13:03 +0500 Subject: [PATCH 3/3] Add more information to the README including an example use case --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df3c0a2f..bde2b103 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,12 @@ Rearrange This module is used for rearranging names. -This repo has been forked as a practice of "Introduction to Git & GitHub by Google" course. \ No newline at end of file +This repo has been forked as a practice of "Introduction to Git & GitHub by Google" course. + +Turns "LastName, FirstName" into "FirstName, LastName". + +## Example + + * Calling 'rearrange_name("Turing, Alan")' will return '"Alan Turing"' + * Calling 'rearrange_name("Hopper, Grace M.")' will return '"Grace M. Hopper"' + * Calling 'rearrange_name("Voltaire")' will return '"Voltaire"' \ No newline at end of file