diff --git a/README.md b/README.md index 002f6a4..4d9522b 100644 --- a/README.md +++ b/README.md @@ -29,18 +29,18 @@ Dictionary ---------- ```python .items() -.get(, ) -.setdefault(, ) +.get(key, default) +.setdefault(key, default) .update() collections.defaultdict() ``` -#### Initiates dict from two lists. +#### Initiates dict from two lists ```python dict(zip(keys, values)) ``` -#### Filter by keys +#### Filters by keys ```python {k: v for k, v in .iteritems() if k in keys} ``` @@ -62,7 +62,7 @@ Set .union() .intersection() .difference() - - Is hashable and can be used as key in dictionary + # Is hashable and can be used as key in dictionary ``` Range @@ -122,12 +122,12 @@ str.replace(, , ) .isnumeric() .split() .strip() -''.join() +.join() ``` ### Print ```python -print(, , end='', sep='', file=) +print(, , end='', sep='', file=) ``` ### Regex