Programming and Problem Solving through Python

Modules in Python Question & Answer



Question :
What is the significance of modules?


Answer :

The process of breaking a bigger unit into individual components (modules) is called modularity. Modularity reduces complexity to some degree.



Question :
What is dot notation of referring to objects inside a module?


Answer :

After importing a module, to access one of the functions, we have to specify the name of the module and name of the function, separated by a dot. This format is called dot notation.



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad