Step 1 – Launch the HackerRank Website and “Sign In”. Ref: https://www.hackerrank.com/

Step 2 – Under Python click “Continue Preparation”. Choose “Division” Challenge.

Step 3 – Read the Instructions Carefully.


Step 4 – List the Requirements and Constraints in a Notepad in simple words. Learn to take notes.

a // b is to get the remainder value of the division between a and b. // known as Floor Division Operator, divides and then rounds the result down to the nearest whole number (integer).
Step 5 – Convert What You Understand of the Requirements and Constraints into code.

Step 6 – Click “Run Code” to Test Your Code. Do Note if you submit code with errors, you will lose points. So “Run Code” first to ensure everything works.

Step 7 – Once you have tested that your code works, “Submit Code” to clear the challenge and earn some Hacker points.

If you have not submitted any codes with error so far and have scored the full points for the last 3 tutorials. You will have enough total points to earn your 1st star.
Step 8 – Go to Your Profile Page and Check-out Your First Python Star.

