Python Free Tutorial
python free course

Spaces or tab used in the beginning of the code is known as indentation. Indentation is used to python to indicate which block of code a statement belongs to. You must indent each line of the block by the same amount of spaces or tabs.

Python will give you an error if you skip the indentation. The number of spaces is up to you as a programmer, but it has to be at least one. Four spaces are typical indent used in python.

Let’s go through some more examples :

This page is contributed by Diwas & Sunil . If you like AIHUB and would like to contribute, you can also write an article & mail your article to . See your articles appearing on AI HUB platform and help other AI Enthusiast.

About Diwas

🚀 I'm Diwas Pandey, a Computer Engineer with an unyielding passion for Artificial Intelligence, currently pursuing a Master's in Computer Science at Washington State University, USA. As a dedicated blogger at AIHUBPROJECTS.COM, I share insights into the cutting-edge developments in AI, and as a Freelancer, I leverage my technical expertise to craft innovative solutions. Join me in bridging the gap between technology and healthcare as we shape a brighter future together! 🌍🤖🔬

View all posts by Diwas →


Leave a Reply

Your email address will not be published. Required fields are marked *