1. Python Review

Python Review: Syntax and Logic

In light of having the summer off, we thought we’d start with reviewing Python syntax and logical reasoning.


HankerRank is a website where coders go to practice their skills. Today we will use this resource to remind ourselves of Python syntax.

๐Ÿ’ป Go to HankerRank and create an account: hackerrank.com/domains/python

๐Ÿ’ป Start with the first challenge Say "Hello, World!" with Python

Be sure to change the Language to Python 3 in the top right.

๐Ÿ’ป Complete the following challenges:
  • Python If-Else
  • Arithmetic Operators
  • Python: Division
  • Loops
  • Write a function


Now that you’ve re-familiarized yourself with Python syntax. We will now apply those skills in mini-puzzles.

๐Ÿ’ป Go to CodingBat: codingbat.com/python

You are not required to make an account for CodingBat. However, if you would like to save your progress you may want to create one.

๐Ÿ’ป Start by solving 2 puzzles from the Warmup-1 section. You may choose any puzzles of your choosing.

๐Ÿ’ป Complete the following additional puzzles:
  • 2 puzzles from List-1
  • 2 puzzles from String-1
  • 1 puzzles from Warmup-2
  • 1 puzzles from Logic-1

It is up to you to choose a specific problem from each section


Once you’ve successfully completed the puzzles be sure to fill out this Google form.


๐Ÿ’ป If you've completed all of the required puzzles, explore more advanced puzzles on either HyperRank or CodingBat. How many challenges can you clear?