Skip to content

Commit b0d996d

Browse files
authored
07-cond.md: Fix typo in sorting into buckets exercise (#812)
fix typo in solution of "sorting into buckets"
1 parent d0cdc49 commit b0d996d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_episodes/07-cond.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,11 @@ freeing us from having to manually examine every plot for features we've seen be
440440
> > ~~~
441441
> > for filename in filenames:
442442
> > if filename.startswith('inflammation-'):
443-
> > large_files.append(file)
443+
> > large_files.append(filename)
444444
> > elif filename.startswith('small-'):
445-
> > small_files.append(file)
445+
> > small_files.append(filename)
446446
> > else:
447-
> > other_files.append(file)
447+
> > other_files.append(filename)
448448
> >
449449
> > print('large_files:', large_files)
450450
> > print('small_files:', small_files)

0 commit comments

Comments
 (0)