Report Bug

QusWhen a module is imported, its code is: QusModule import होने पर उसका code ______।


A. Ignored
B. Compiled only
C. Executed once
D. Executed every time


Solution
C. Executed once



Explanation
During a normal import, Python executes a module's top-level code the first time it is imported in that process.

सामान्य import में module का top-level code पहली बार import होने पर execute होता है।
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