From this link: How do I pass a variable by reference?, we know, Python will copy a string (an immutable type variable) when it is passed to a function as a parameter, but I
Just pass it in as you would any other parameter. The contents won't get copied, only the reference will.