From cf20b70e8adc1ec31e70c947b352d926cc066e04 Mon Sep 17 00:00:00 2001 From: jason-ellis Date: Mon, 26 Feb 2018 13:26:09 -0600 Subject: [PATCH] Change variable 'mySalsa' to 'my_salsa' for PEP 8 compliance. --- _episodes/03-lists.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_episodes/03-lists.md b/_episodes/03-lists.md index c14a8cf90..5919d3429 100644 --- a/_episodes/03-lists.md +++ b/_episodes/03-lists.md @@ -125,9 +125,9 @@ does not. > > ~~~ > salsa = ['peppers', 'onions', 'cilantro', 'tomatoes'] -> mySalsa = salsa # <-- mySalsa and salsa point to the *same* list data in memory +> my_salsa = salsa # <-- my_salsa and salsa point to the *same* list data in memory > salsa[0] = 'hot peppers' -> print('Ingredients in my salsa:', mySalsa) +> print('Ingredients in my salsa:', my_salsa) > ~~~ > {: .language-python} > @@ -141,9 +141,9 @@ does not. > > ~~~ > salsa = ['peppers', 'onions', 'cilantro', 'tomatoes'] -> mySalsa = list(salsa) # <-- makes a *copy* of the list +> my_salsa = list(salsa) # <-- makes a *copy* of the list > salsa[0] = 'hot peppers' -> print('Ingredients in my salsa:', mySalsa) +> print('Ingredients in my salsa:', my_salsa) > ~~~ > {: .language-python} >