You're a square!

Instructions: You like building blocks. You especially like building blocks that are squares. And what you even like more, is to arrange them into a square of square building blocks! However, sometime...
0 Read More

Get the Middle Character

Instructions: You are going to be given a non-empty string. Your job is to return the middle character(s) of the string. If the string's length is odd, return the middle character. If the string's len...
0 Read More

100DaysOfCode — Day 8

Day 8: Getting my head around Enumerations. Another playground session and a recap of the past week, which has been a challenging one while traveling. I'll be back on Monday! ✊...
0 Read More

Reverse words

Instructions: Complete the function that accepts a string parameter, and reverses each word in the string. All spaces in the string should be retained.Examples "This is an example!" ==> "sihT si na...
0 Read More

Unique In Order

Instructions: Implement the function unique_in_order which takes as argument a sequence and returns a list of items without any elements with the same value next to each other and preserving the origi...
0 Read More