Python Programming for the Absolute Beginner, 3rd Edition

N

n shelve access mode, 212

namespaces, 178

naming variables, 34–35

negative position numbers, 102–103

nested sequences

accessing elements in, 141–142

creating, 140–141

defined, 139

nested tuples, 143–144

nesting functions, 45

new lines, suppressing, 27–28

new-style classes, 249

New Window command (File menu), 11

newline character (n), 24–25, 204

next_block() function, 221–222, 224

next_level() method, 419

next_line() function, 221

No Vowels program example, 105–106

NONE value, 110, 320

not equal to (!=) operator, 59

not logical operator, 81

Not Saved dialog box, 12

n_repeats attribute, Animation class, 430

number sign symbol (#), 13

numbers

floating-point, 30–31, 50

integers, 30–31

mathematical operators, 31–32

negative position, 102–103

positive position, 101

random generation, 103–104

true division, 31

Word Problems program, 28–30

numeric keystrokes, 381

Категории