[Tutor] Function not using updated variable?

Ello Solcraft solbrilla1 at gmail.com
Sun Jan 20 19:14:55 EST 2019


# currLocation doesn't use the updated variable.

for x in inputList:

        currCalc.append(x)
        currCalc2 = ''.join(currCalc)
        currLocation = mapLocation(mapInput(currCalc2))#mapInput(currCalc2))

# I tried printing currCalc2, it updates like it should. But currLocation
doesn't use the updated currCalc2. Hoewer it does work if I input a string
without the currLocation variable.


More information about the Tutor mailing list