Help! I'm stuck on Assignment 2 from Week 1, exercice 2

I am really lost and have tried to code the convolutional model with functional API. Can someone please help me detect the error in my code, I’ve already tried for hours…

def convolutional_model(input_shape):
# mentor edit: code removed

The Funtional API does not need the commas at the ends of the lines. Since each line is a line of code, the commas are a syntax error,

When you post on the Forum, you should 1) not include your code (because the Honor Code doesn’t allow it), and 2) you should include any error messages or asserts that you see, along with describing the problem.

Thanks TMosh you’re the best