how to check if user is using main file or importing the file and using in python
#in another file
from first_program import calculate_adding
number1 = int(input("Number 1:- "))
number2 = int(input("Number 2:- "))
print(calculate_adding(number1,number2))
#output
'''
You are using me after importing
Number 1:- 90
Number 2:- 90
180
'''