-
-
Save IndhumathyChelliah/f1f281dee705fd6552845a8c9b755c96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from c1 import * | |
#accessing variable names having single leading underscore. | |
print (_a)#Output:NameError: name '_a' is not defined | |
#accessing function name havig single leading underscore | |
print (_sub(7,2))#Output:NameError: name '_sub' is not defined | |
#accessing variables and functions which is not having single leading underscore. | |
# we will able to access those varaibles and functions | |
add(3,4)#Output:7 | |
print (b)#helloworld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment