id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

peter@norvig.com

Some example problems. Many of them are harder than the earlier codingbat problems; you may want to work on them in a separate Python IDE / editing environment, and copy the results into codingbat.


Custom Problems

Custom Pages

  • 7-week-class
  • cartalk_puzzlers -- These "puzzlers" are taken from the Cartalk program on National Public Radio.
  • easier -- Some of the easier problems I have written.
  • life -- Conway's game of Life
  • non_word_games -- Games other than word games (baseball, bowling, darts, poker, whack-a-mole, ...)
  • numbers -- Exercises about number theory, or counting.
  • pemdas -- Dealing with algebraic expressions, using the PEMDAS rules for operator precedence.
  • recursion -- A list of exercises having to do with recursive functions
  • scrabble -- Playing the game of Scrabble (or "Words with Friends," as it is known these days).
  • wordgames -- Exercises that have to do with words and word games (other than Scrabble).

Authoring docs

Copyright Nick Parlante 2017 - privacy