INDEX

Symbols

+ (addition), 30

* (asterisk) operator, 157

.bmp (Bitmap) image files, 244

+ (concatenation operator), 101–102

/ (division), 30

== (equality operator), 77

> (greater than), 79

>= (greater than or equal to), 79

# (hash mark), for comments, 33

!= (inequality operator), 78

< (less than), 79

<= (less than or equal to), 79

% (modulo operator), 120–121

* (multiplication), 30

\n (newline), 26

! (not), 78

+= operator, 119

.py file extension, 20

[] (square brackets), 38

- (subtraction), 30

\t (tab), 26

A

addition (+), 30

aliases, 156, 157

alice.py, 203–205

Alien Invasion project. See also Pygame

aliens

Alien class, 267

building fleet of, 269–275

changing directions, 278

checking edges, 278

creating, 266

creating rows of, 270

drawing to the ...

Get Python Crash Course 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.