Skip to content

Commit e530493

Browse files
committed
Fixed #28.
1 parent ef882fd commit e530493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/lecture_06/hw.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ x + 2*y*z - c*x
1515
```
1616
return an array of *unique alphabetically sorted symbols* representing variables in an expression.
1717
```julia
18-
[:x, :y, :z, :c]
18+
[:c, :x, :y, :z]
1919
```
2020
Implement this in a function called `find_variables`. Note that there may be some edge cases that you may have to handle in a special way, such as
2121
- variable assignments `r = x*x` should return the variable on the left as well (`r` in this case)

0 commit comments

Comments
 (0)