Skip to content

Commit 55ace77

Browse files
authored
remove string-format suggestion to avoid overwhelming learners
1 parent 9d925d4 commit 55ace77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_episodes/01-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ If you do not include a start index, the slice automatically starts at `list_nam
241241
> ~~~
242242
> slice1 = energy_kcal[1:]
243243
> slice2 = energy_kcal[:3]
244-
> print('slice1 is {}'.format(slice1))
245-
> print('slice2 is {}'.format(slice2))
244+
> print('slice1 is', slice1)
245+
> print('slice2 is', slice2)
246246
> ~~~
247247
> {: .language-python}
248248
>

0 commit comments

Comments
 (0)