In this post, we will solve **Basics of Sets and Relations #3 HackerRank Solution**. This problem **(Basics of Sets and Relations #3)** is a part of **HackerRank Databases** series.

**Task**

You are given two sets.

Set **A** = {1,2,3,4,5,6}

Set **B** = {2,3,4,5,6,7,8}

How many elements are present in **A** – **B**?

Only enter the correct integer in the answering box. Do not include any extra spaces, tabs or newlines.

**Solution – Basics of Sets and Relations #3 – HackerRank Solution**

1

**Note:** This problem **(Basics of Sets and Relations #3)** is generated by **HackerRank** but the solutions is provided by **CodingBroz**. This tutorial is only for **Educational** and **Learning** purpose.