[Tutor] Function not using updated variable?

2019-01-20 Thread Ello Solcraft
# 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

Re: [Tutor] Function not using updated variable?

2019-01-20 Thread Steven D'Aprano
Hi Ello, and welcome! On Mon, Jan 21, 2019 at 01:14:55AM +0100, Ello Solcraft wrote: > # currLocation doesn't use the updated variable. How do you know? I'm sorry, but it is impossible for me to tell what is going on here. There simply isn't enough information to understand your code. We don'