* Add 'users' variable in code sample.
* 📜🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
be tricky to get right. Instead, it is usually more straight-forward to loop
over a copy of the collection or to create a new collection::
+ # Create a sample collection
+ users = {'Hans': 'active', 'Éléonore': 'inactive', '景太郎': 'active'}
+
# Strategy: Iterate over a copy
for user, status in users.copy().items():
if status == 'inactive':
--- /dev/null
+Fix in tutorial section 4.2.\r
+Code snippet is now correct.
\ No newline at end of file