Mastering Strings & Intro to Arrays (Python for Beginners #4)
Hey everyone, welcome back to 'Python for Beginners', a super simple crash-course for becoming proficient in Python. In today's episode we work on mastering strings and get a brief introduction to arrays. Hope you enjoy!
Check out the last episode: • Variables & Arithmetic in Python Expl...
00:00 - Intro
00:33 - Recap on strings
00:42 - String literals explained
00:54 - Multiline comments in Python
01:43 - Multiline string variables
02:32 - Introduction to arrays
03:54 - A string is an array of characters
04:30 - Out of bounds exceptions w/ arrays
04:49 - Special array positions
05:18 - How many characters are in a string? (Length of array)
06:17 - Substring filtering
07:36 - Array slices
08:59 - Converting strings to lowercase or uppercase
09:20 - Removing leading/trailing whitespace from strings
10:01 - Replacing content in a string
10:34 - Splitting a string into an array
11:59 - String formatting (concatenation + interpolation)
13:47 - Outro