Skip to content

Commit

Permalink
Merge pull request #6 from broadinstitute/jlc_updates_round_3
Browse files Browse the repository at this point in the history
complete list transition to amino_acids
  • Loading branch information
jlchang authored Sep 27, 2024
2 parents b8ac5ff + 764cadd commit 8484387
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions episodes/lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ The first three items: ['alanine', 'leucine', 'cysteine']
Use an index value along with your list variable to replace a value from the list.

```python
print(f'List was: {metadata}')
metadata[0] = 'methionine'
print(f'List is now: {metadata}')
print(f'List was: {amino_acids}')
amino_acids[0] = 'methionine'
print(f'List is now: {amino_acids}')
```

```output
Expand Down

0 comments on commit 8484387

Please sign in to comment.