Python Review: Syntax and Logic
In light of having the summer off, we thought we’d start with reviewing Python syntax and logical reasoning.
HackerRank
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
๐ป Complete the following challenges:Be sure to change the
LanguagetoPython 3in the top right.
- Python If-Else
- Arithmetic Operators
- Python: Division
- Loops
- Write a function
CodingBat
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.
- 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
Deliverables
โกโจ
Once you’ve successfully completed the puzzles be sure to fill out this Google form.
Extension
๐ป If you've completed all of the required puzzles, explore more advanced puzzles on either HyperRank or CodingBat. How many challenges can you clear?