STATEMENTS AND EXPRESSIONS

There's not really much to compare between the two languages. Most expressions rely on the use of operators, a topic we've already covered, and most of the semantics surrounding the evaluation of expressions remains the same. We also have access to the same loops and control statements.

We'll be covering statements in more detail in Chapter 4.

Get Perl To Python Migration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.