Symmetric Difference

Received via email a message regarding the following HackerRank challenge:

I liked that a refresher / tutorial preceded the actual challenge.

If interested use the above mentioned link and read the requirements.

Following is a screen capture from the Python console from the Spider 3 IDE: Continue reading “Symmetric Difference”


Received an email from HackerRank to solve a Tuples challenge:

If interested take a look at the requirements.

After reading the requirements, using the Spyder 3.1.0 IDE I came up with a solution which did not have a need for the first line from the Sample Input. The Sample input follows: Continue reading “Tuples”

Last Python Intro Challenges

Seems like in the past couple weeks I have been getting up earlier than usual. I decided to complete the remaining introduction Python challenges at HackerRank. If you are interested please take a look at the following URL:

For these challenges I decided to use Spyder 3 IDE. I am using:  Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul  5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] Continue reading “Last Python Intro Challenges”

Integers Come in All Sizes

I received an email message with a HackerRank challenge. If interested the simple challenge is located at the following URL:

The challenge is quite simple when using Python. Since Python 3 the distinction between integers, long integers and unlimited size integers is gone. In Python 3 an integer could probably take all the virtual memory in your machine ;o). Continue reading “Integers Come in All Sizes”

Python Divmod and Mod Power

I received via email a couple messages with two easy Python challenges named “Mod Divmod” and “Power – Mod Power”. Following are links to the challenges: Continue reading “Python Divmod and Mod Power”

Calculator in Python

As I have mentioned on different occasions, I like to read technical topics in order to review and learn new things. This weekend I decided to spend some time with Tkinter.

For starters Tk is a free and open-source, cross-platform widget toolkit that provides a library of basic elements of GUI widgets for building a graphical user interface (GUI) in many programming languages. Continue reading “Calculator in Python”

Python: Division

I received an email message from HackerRank suggesting a Python challenge. The challenge is described in the following URL:

Following is the output from a console using Visual Studio 2013 Professional with the PTVS (Python Tools for Visual Studio) plug-in using the sample input data: Continue reading “Python: Division”

Python If-Else

Do not have much time this morning so I just addressed the next challenge in the Python Introduction set at HackerRank named Python If-Else that you can find at:

This challenge tests the ability to write a set of correct if-then-else set of statements (including nested conditions). Continue reading “Python If-Else”