Format strings with variables using f-strings
name = "world" print(f"Hello, {name}!")
Auto-create keys with a default value
Loop through a list with both index and value
Filter a list using a conditional list comprehension
Read a file line by line without loading it all into memory