Function And Strings In Python