8000 Merge pull request #3 from K1t1k/patch-1 · Yorko/python_intro@539df64 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 539df64

Browse files
authored
Merge pull request #3 from K1t1k/patch-1
Update lesson3_part1_lists_tuples.ipynb
2 parents 7453c57 + e6e0197 commit 539df64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_lesson3_data_structures1/lesson3_part1_lists_tuples.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,7 @@
21862186
}
21872187
],
21882188
"source": [
2189-
"animals = ['dog', 'cat', 'bear']\n",
2189+
"animals = ('dog', 'cat', 'bear')\n",
21902190
"print(\"I have a %s, a %s, and a %s.\" % (animals[0], animals[1], animals[2]))"
21912191
]
21922192
},
@@ -2213,7 +2213,7 @@
22132213
}
22142214
],
22152215
"source": [
2216-
"animals = ['dog', 'cat', 'bear']\n",
2216+
"animals = ('dog', 'cat', 'bear')\n",
22172217
"print(\"I have a {0}, a {1}, and a {2}.\"\n",
22182218
" .format(animals[0], animals[1], animals[2]))"
22192219
]

0 commit comments

Comments
 (0)
0