NIELIT O Level Exam

How is a code block indicated in Python?

How is a code block indicated in 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.

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad