The last thing we want to talk about in regards of functions off at Aero functions and the fit function
is basically if you just have one statement in your methods you can make it short.
So we could write this old saw one main and then we make an error and then print and then we just copy
every single row to Tia and Port Said call them and we want to copy to comment this part Alt.
So we don't get an error because we don't want two main entry points.
So this looks exactly the same so we don't have on method body here we just used an arrow and then we
rolled all print.
This caused a fat error function and we can do this also with we turn function to a method.
We arrive it's ends at.
And then and it's X and X line.
Then use 0.
And we don't write to write we turn we just write X plus Y.
And then we need to comment.
This ought to be caught because we can't have the same method with the same name twice.
It gives an error.
So now it works.
And if we click Run it should.
Yeah it still gets nine so it works exactly the same.
So remember if you have a return statement you don't have to write a return and your fit function and
these fit or functions work with just one statement.
So just one line of code.