Skip to content

Commit

Permalink
Update wi23-final-q04.md to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Shapiro authored Jan 10, 2024
1 parent d709ba9 commit dd5b9b1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions problems/wi23-final/wi23-final-q04.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ For each expression below, select the list it evaluates to, or select "None of t
# BEGIN SUBPROB

`re.findall(r'\d+', s)`



( ) list1
( ) list2
( ) list3
( ) list4
( ) list5
( ) None of the above


# BEGIN SOLN

**Answer: ** list3
Expand All @@ -48,14 +50,16 @@ For each expression below, select the list it evaluates to, or select "None of t
# BEGIN SUBPROB

`re.findall(r'[\d+]', s)`



( ) list1
( ) list2
( ) list3
( ) list4
( ) list5
( ) None of the above


# BEGIN SOLN

**Answer: ** list5
Expand All @@ -68,13 +72,15 @@ For each expression below, select the list it evaluates to, or select "None of t

`re.findall(r'\[(\d+)\]', s)`


( ) list1
( ) list2
( ) list3
( ) list4
( ) list5
( ) None of the above


# BEGIN SOLN

**Answer: ** list2
Expand All @@ -86,14 +92,16 @@ For each expression below, select the list it evaluates to, or select "None of t
# BEGIN SUBPROB

`re.findall(r'(\[\d+\])', s)`



( ) list1
( ) list2
( ) list3
( ) list4
( ) list5
( ) None of the above


# BEGIN SOLN

**Answer: ** list4
Expand All @@ -102,4 +110,4 @@ For each expression below, select the list it evaluates to, or select "None of t

# END SUBPROB

# END PROB
# END PROB

0 comments on commit dd5b9b1

Please sign in to comment.