I don't understand how the variables being passed aren't changing when I run the function. The values are initially set to None, as I hope for them to change once I run the function but nothing happens. So I'm obviously doing something wrong. I'm fairly new to Python and would love some help.
def askUser(number_STRING, digits, array_NUM, chars):
print ("NOTE: Program can only convert mm, cm, m, and km")
number_STRING = raw_input("Type the number (9KM, 30M exactly like
that) you would like to convert to centimeters.")
digits = int(filter(str.isdigit, number_STRING))
array_NUM = len([c for c in number_STRING if c.isdigit()])
chars = str(number_STRING[array_NUM:])
def main():
number_STRING = None
digits = None
array_NUM = None
chars = None
askUser(number_STRING, digits, array_NUM, chars)
print chars
print array_NUM
print digits
main()