Meaning of the code - fig,ax=plt.subplots()

what is the meaning of this code ?
Screen Link:

My Code:

Replace this line with your code

What I expected to happen:

What actually happened:

Replace this line with the output/error

Hi @SanchitSinghal: you can refer to the documentation to find out what the code does and why this shorthand is used.

Thanks that was helpful !