This post lists changes in the GDScript syntax since the initial release of the course.
New versions of Godot tend to make small breaking changes in the code's syntax. Godot 3.2 removed the old syntax for assert statements:
assert condition
Now instead of a keyword, it's a function, so you must wrap the condition in parentheses:
assert(condition)