A more 'pythonic' way to do this would be to assign the input to a variable, then pass the variable to the function.  That makes the code easier to read by separating each operation out to its own line.