Machine Learning MCQS - QUESTION DETAILS

What is the significance of Python's use of indentation for code blocks?
A. It reduces file size
B. It enforces code style guidelines
C. It improves performance
D. It eliminates the need for comments

Python uses indentation to enforce code blocks, improving readability and maintaining consistent code style.

Similar Questions

What is the file extension for Python scripts?






What role does Python's global community play in its ongoing development?






What is the primary benefit of using an IDE like PyCharm or VSCode for Python development?






Which command is used to execute a Python script from the command line?






Which aspect of Python's syntax contributes to its readability?






What makes Python's syntax more concise compared to other programming languages?






Which symbol is used for comments in Python?






What is the primary advantage of Python's modular architecture?






What makes Python a suitable choice for rapid prototyping and development?






Which of the following statements best describes Python's philosophy regarding simplicity?