Class model in neural network

hello everyone,
i’ve got an assigment in schook which i need to build a neural network buy my output is not binary(it’s a randon numbers) so i can’t use the sequantial model and i need to build my own model and i couldn’t find any information about this in the internet. i have 4 inputs and one output and i need at least 2 hidden layers in the project.
I will be very happy if there is anyone how can help me.
Thank you!

The Keras functional API is a way to create models that are more flexible than the Sequential API. The functional API can handle models with non-linear topology, shared layers, and even multiple inputs or outputs. Thank you!