Published using Google Docs
CodeStepByStep Problems
Updated automatically every 5 minutes

CodeStepByStep Problems Appropriate for CSE160 students

These problems should be useful for practicing the concepts in the course. In order to try these out you will need to create a (free!) account here: https://codestepbystep.com/  There is no need to “register” with our course (we do not have that set up). If you get stuck on one, please move on to another!  They are not necessarily listed in order of difficulty.

Expressions: 

Loops: (without console input, while loops or functions)

Notes about print that will be useful for these problems:

  1. print() prints a blank line
  2. print(“foo”, end=””) adding end=”” means that the next print statement will print on the same line.

If/else (without functions):

-----------------------------------------------------------------------------------------------------------------