Yes! it is mandatory. Because indentation is not only for styling purpose but also your code to be get executed.