Intro Python: Fundamentals
by
Reuven M. Lerner
Login
Buy for $250
18 Intro to strings
Intro Python: Fundamentals
/
Section 3: Strings
This content is locked.
You'll need to
purchase
or
sign in
to view this content.
Intro Python: Fundamentals
What you need to start with Python: Syntax, loops, and data structures.
Buy for $250
Learn more
Already enrolled?
Sign in to continue learning.
Table of contents
Intro Python: Fundamentals
by
Reuven M. Lerner
ui-24px-outline-1_lock
Contents
Contents
Draft
syllabus.pdf
Draft
syllabus.pdf
Draft
00 Welcome.mov
Draft
00 Welcome.mov
ui-24px-outline-1_lock
Section 1: Introduction
Section 1: Introduction
Draft
01 Introduction
Draft
01 Introduction
Draft
02 Variable assignment
Draft
02 Variable assignment
Draft
03 User input
Draft
03 User input
Draft
04 Comments
Draft
04 Comments
Draft
05 Conditionals
Draft
05 Conditionals
Draft
06 Complex conditions
Draft
06 Complex conditions
Draft
07 Exercise 1 -- weather reaction
Draft
07 Exercise 1 -- weather reaction
Draft
08 Solution 1 -- weather reaction
Draft
08 Solution 1 -- weather reaction
Draft
Intro Python, section 1.ipynb
Draft
Intro Python, section 1.ipynb
ui-24px-outline-1_lock
Section 2: Basic data types
Section 2: Basic data types
Draft
09 None
Draft
09 None
Draft
10 True, False, and boolean context
Draft
10 True, False, and boolean context
Draft
11 Integers
Draft
11 Integers
Draft
12 Max int?
Draft
12 Max int?
Draft
13 Converting to ints
Draft
13 Converting to ints
Draft
14 Exercise 2- Number guessing game
Draft
14 Exercise 2- Number guessing game
Draft
15 Solution 2- Number guessing game
Draft
15 Solution 2- Number guessing game
Draft
16 Hex, oct, and bin
Draft
16 Hex, oct, and bin
Draft
17 Floats
Draft
17 Floats
Draft
Intro Python, section 2.ipynb
Draft
Intro Python, section 2.ipynb
ui-24px-outline-1_lock
Section 3: Strings
Section 3: Strings
Draft
strings-syllabus.pdf
Draft
strings-syllabus.pdf
Draft
18 Intro to strings
Draft
18 Intro to strings
Draft
19 Backslashes
Draft
19 Backslashes
Draft
20 Raw strings
Draft
20 Raw strings
Draft
21 Slices
Draft
21 Slices
Draft
22 Searching with "in"
Draft
22 Searching with "in"
Draft
23 Exercise 3 -- Pig Latin
Draft
23 Exercise 3 -- Pig Latin
Draft
24 Solution 3 -- Pig Latin
Draft
24 Solution 3 -- Pig Latin
Draft
25 String methods
Draft
25 String methods
Draft
26 Triple-quoted strings
Draft
26 Triple-quoted strings
Draft
27 Bytes and characters
Draft
27 Bytes and characters
Draft
28 str.format and f-strings
Draft
28 str.format and f-strings
Draft
29 print function options
Draft
29 print function options
Draft
Intro Python, section 3.ipynb
Draft
Intro Python, section 3.ipynb
ui-24px-outline-1_lock
Section 4: Loops
Section 4: Loops
Draft
loops-syllabus.pdf
Draft
loops-syllabus.pdf
Draft
Intro Python, section 4.ipynb
Draft
Intro Python, section 4.ipynb
Draft
30 for loops
Draft
30 for loops
Draft
31 indexes and enumerate
Draft
31 indexes and enumerate
Draft
32 range
Draft
32 range
Draft
33 Exercise 4 -- loop exercises
Draft
33 Exercise 4 -- loop exercises
Draft
34 Solution 4 -- loop exercises
Draft
34 Solution 4 -- loop exercises
Draft
35 break and continue
Draft
35 break and continue
Draft
36 else on loops
Draft
36 else on loops
Draft
37 while loops
Draft
37 while loops
ui-24px-outline-1_lock
Section 5: Lists
Section 5: Lists
Draft
lists-tuples-syllabus.pdf
Draft
lists-tuples-syllabus.pdf
Draft
Intro Python, section 5.ipynb
Draft
Intro Python, section 5.ipynb
Draft
38 lists
Draft
38 lists
Draft
39 Assignment and lists
Draft
39 Assignment and lists
Draft
40 append
Draft
40 append
Draft
41 Exercise 5 -- sum and mean of numbers
Draft
41 Exercise 5 -- sum and mean of numbers
Draft
42 Solution 5
Draft
42 Solution 5
Draft
43 extend and +=
Draft
43 extend and +=
Draft
44 advanced inserting into lists
Draft
44 advanced inserting into lists
Draft
45 removing from a list
Draft
45 removing from a list
Draft
46 stacks and queues
Draft
46 stacks and queues
Draft
47 iterating over lists
Draft
47 iterating over lists
Draft
48 range
Draft
48 range
Draft
49 str.split
Draft
49 str.split
Draft
50 str.join
Draft
50 str.join
Draft
51 Exercise 6 -- Pig Latin sentence
Draft
51 Exercise 6 -- Pig Latin sentence
Draft
52 Solution 6 -- Pig Latin sentence
Draft
52 Solution 6 -- Pig Latin sentence
Draft
53 Adding to strings, adding to lists
Draft
53 Adding to strings, adding to lists
Draft
54 sorting
Draft
54 sorting
ui-24px-outline-1_lock
Section 6: Tuples
Section 6: Tuples
Draft
55 Intro to tuples
Draft
55 Intro to tuples
Draft
56 Tuples are immutable
Draft
56 Tuples are immutable
Draft
57 Tuple creation trickiness
Draft
57 Tuple creation trickiness
Draft
58 Unpacking
Draft
58 Unpacking
Draft
59 Convering to-from tuples
Draft
59 Convering to-from tuples
Draft
60 Sorting tuples
Draft
60 Sorting tuples
Draft
61 Exercise 7 -- people
Draft
61 Exercise 7 -- people
Draft
62 Solution 7 -- people
Draft
62 Solution 7 -- people
ui-24px-outline-1_lock
Section 7: Dictionaries
Section 7: Dictionaries
Draft
dict-syllabus.pdf
Draft
dict-syllabus.pdf
Draft
63 Intro to dicts
Draft
63 Intro to dicts
Draft
64 Exercise 8 -- restaurant
Draft
64 Exercise 8 -- restaurant
Draft
65 Solution 8 -- restaurant
Draft
65 Solution 8 -- restaurant
Draft
66 get and setdefault
Draft
66 get and setdefault
Draft
67 iterating over a dict
Draft
67 iterating over a dict
Draft
68 Exercise 9 -- Rainfall
Draft
68 Exercise 9 -- Rainfall
Draft
69 Solution 9 -- Rainfall
Draft
69 Solution 9 -- Rainfall
Draft
70 How do dicts work?
Draft
70 How do dicts work?
Draft
Intro Python, section 7.ipynb
Draft
Intro Python, section 7.ipynb
ui-24px-outline-1_lock
Section 8: Sets
Section 8: Sets
Draft
71 Intro to sets
Draft
71 Intro to sets
Draft
72 Lists vs. sets
Draft
72 Lists vs. sets
Draft
73 Adding to and removing from sets
Draft
73 Adding to and removing from sets
Draft
74 Exercise 10 -- dollar store
Draft
74 Exercise 10 -- dollar store
Draft
75 Solution 10 -- dollar store
Draft
75 Solution 10 -- dollar store
Draft
76 Set operations
Draft
76 Set operations
Draft
77 Exercise 11 -- spelling bee
Draft
77 Exercise 11 -- spelling bee
Draft
78 Solution 11 -- spelling bee
Draft
78 Solution 11 -- spelling bee
ui-24px-outline-1_lock
Conclusion
Conclusion
Draft
79 Conclusion.mov
Draft
79 Conclusion.mov
ui-24px-outline-1_lock
PDFs of slides
PDFs of slides
Draft
01 Introduction.pdf
Draft
01 Introduction.pdf
Draft
02 Simple data types (none, boolean, int, string).pdf
Draft
02 Simple data types (none, boolean, int, string).pdf
Draft
03 Lists, tuples, sequences.pdf
Draft
03 Lists, tuples, sequences.pdf
Draft
04 Dictionaries and sets.pdf
Draft
04 Dictionaries and sets.pdf
Welcome!
Enter your info below to login.
Your email
Your password
Login
Forgot your password?