When is global statement is used? Why is its use is not recommended?

Global statement can be used when we want to assign some value to global variable without creating any local variable.

It is not recommended because alter the global statement function always refer to global variable and local variable can not be created and hence control over variable and their scope id lost.

error: Content is protected !!