concept each line in category python

appears as: each line
Tiny Python Projects: Learn coding and testing with puzzles and games

This is an excerpt from Manning's book Tiny Python Projects: Learn coding and testing with puzzles and games.

Open a terminal and type python3 or ipython to start a REPL. A REPL is a Read-Evaluate-Print-Loop--Python will read each line of input, evaluate it, and print the results in a loop. Here’s what it looks like on my system:

Table 7.3 We need to create a dictionary where the first letter of each line is the key and the line is the value.
  • You can break long string literals into shorter adjacent strings in your code to have Python join them into one long string. It’s advisable to break long regexes into shorter strings and add comments on each line to document the function of each pattern.