I have two different scripts. I want to get one variable from the script to use another script. I try that method but its give me this answer shown below.
scrip1.py
a=7
print(a)
c =10
print(c)
b=5
script2.py
from script1 import b
print(b)
result is :
7
10
5
How can i get just value of b and the output will be ? :
5