Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 14, 2020 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IndhumathyChelliah/f1f281dee705fd6552845a8c9b755c96 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/f1f281dee705fd6552845a8c9b755c96 to your computer and use it in GitHub Desktop.
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