0

11When I run one function, at the end, the variable 'hangarDone' is changed to 'True' (its is false at the start) but when I run the morrigan function it prints as false.

def morrigan():
    print ('Hang2',hangarDone)
    hangar()

def hangar():
    [There is content here but nothing happens with hangarDone]
    hangarDone = 'True'
    save()
    print ('Hang1',hangarDone)
    morrigan()

Output:

Hang2 False
Hang1 True
Hang2 False
myhotchoc
  • 11
  • 1
  • 6

0 Answers0