Introduction (2)
- Try it yourself sections are important
Chapter 1 - Install python and create helloworld.py
Chapter 2 - Variable types
- String methods - .title() - capitalizes all the words in a string
- .upper() and .lower()
- f strings `full_name = f"{first_name} {last_name}"`
- .rstrip() and .lstrip() - strip trailing or leading spaces from a string
- removeprefix() -
nostarch_url = 'https://nostarch.com'
no_prefix_url = nostarch_url.removeprefix('https://')
- integers, floats, CONSTANTS
- comments start with # hash tag