← Back to challenges

Re-Form the Word

PythonMediumstringslanguage_fundamentalsformatting

Instructions

A word has been split into a left part and a right part. Re-form the word by adding both halves together, changing the first character to an uppercase letter.

Examples

get_word("seas", "onal") ➞ "Seasonal"

get_word("comp", "lete") ➞ "Complete"

get_word("lang", "uage") ➞ "Language"

Notes

N/A

python3
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Check if One Array can be Nested in Another