I have some question related to pass value from file A to File B, and from File B to File A. Do anyone know how it work.
In main.py input name, and in second.py enter your age.
I main.py i wish to use second.py value, and in second,py wish to use main.py value.
Do anyone have any idea?
main.py
In main.py input name, and in second.py enter your age.
I main.py i wish to use second.py value, and in second,py wish to use main.py value.
Do anyone have any idea?
main.py
import second
string_name = input("please enter your Name : ")
print(second.age)second.pyimport main
age = input("please enter your Age : ")
print(main.string_name)
