Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
nfortelny committed Mar 19, 2024
1 parent 1c86181 commit dd4d690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python3.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ In the code below, we extract all codes that start with the character `2` from a

```python
codes = "1a3, 1b4, 2c5, 2d6, 2e7, 3f8, 3g9"
codes_starting_with_two = re.findall(r"(2.)(.)", codes)
codes_starting_with_two = findall(r"(2.)(.)", codes)
codes_starting_with_two
#> [('2c', '5'), ('2d', '6'), ('2e', '7')]

Expand Down

0 comments on commit dd4d690

Please sign in to comment.