import math
print(math.factorial(4))
check import module path in the python
import sys
print(sys.path)
print the file content
import file2 as a
print(a.a)
fetch the function to the another file using the import function
import file2 as a
print(a.PrintJokes("Vishal"))
Thanks you for commenting your questions. I will see question and respond you.