gece
0
Q:

dir() in python

# Python3 code to demonstrate dir() 
# when no parameters are passed 
  
# Note that we have not imported any modules 
print(dir()) 
  
  
# Now let's import two modules 
import random 
import math 
  
# return the module names added to 
# the local namespace including all 
# the existing ones as before 
print(dir()) 
0
dir({object})
0

New to Communities?

Join the community