Here I want to use variable object a again in my next function but when I tried using a in my next function it gave a NameError.
Also I don't want to make variable at beginning of the function, I want to make it in a function also want to use in next function.

CODE

```
def A():
    a=12
    print(a*12)
A()

def B():
    b=14
    print(b*a)
B()

```

OUTPUT

```
  144
Traceback (most recent call last):
 File "C:/Users/ADMIN/Documents/a.py", line 9, in <module>
  B()
 File "C:/Users/ADMIN/Documents/a.py", line 8, in B
  print(b*a)
NameError: name 'a' is not defined

```

Any Solution would be aprreciated,Thanks in Advance.