Chapter 2. Statements and Expressions
Terms in This Chapter
Assignment
Case sensitivity
Class
Collection type
Comment
Declaration
Definition
Document string
Escape sequence
Expression
File path
Function
Immutability
Initialization
Instance
Key
Key/value pair
Literal
Method
Module
Object
Operator
Runtime
Sequence
Source code
Statement execution
Tuple
Type
Value
Variable
Whitespace
In this chapter, we continue our tour of Python with perhaps the most basic feature: statements. We'll also look at data types, comments, variables, and literals.
Novices, you should know the drill by now: You learn to program by programming, so try to follow along with the interactive sessions in this chapter. If you get stuck on something, just enter in a few of the examples in Jython and skip ...
Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython 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.