MCQ Answer

How is a code block indicated in Python?

How is a code block indicated in Python?

पायथन में कोड ब्लॉक को कैसे दर्शाया जाता है?
Topic : Introduction to Python

A. Brackets

B. Indentation

C. Key

D. None of the above




Correct Answer is :

B. Indentation



Explanation

Indent (using Tab) are used to define the block, in other programming language { } curly brackets are used to define the block but in Python indent are used.

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad