Skip to content

Commit ad4ecb2

Browse files
committed
Merge pull request DjangoGirls#587 from simobasso/fixlotteryrefuse-1
fix lottery translation
2 parents cf9c9d2 + 2baaace commit ad4ecb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

it/python_introduction/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,12 @@ Come puoi vedere, puoi accedere a diversi oggetti nella tua lista usando il nome
250250

251251
Per eliminare qualcosa dalla lista dovrai usare **indexes** come abbiamo visto sopra, e lo statement **del** (del è un'abbreviazione di delete). Proviamo a fare qualcosa per rafforzare quanto imparato prima; elimineremo il primo numero della lista.
252252

253-
>>> print(lottery)
253+
>>> print(lotteria)
254254
[59, 42, 30, 19, 12, 3, 199]
255-
>>> print(lottery[0])
255+
>>> print(lotteria[0])
256256
59
257-
>>> del lottery[0]
258-
>>> print(lottery)
257+
>>> del lotteria[0]
258+
>>> print(lotteria)
259259
[42, 30, 19, 12, 3, 199]
260260

261261

0 commit comments

Comments
 (0)