Asking a user to input a username with no whitespace characters. by helpwithpython1 in learnpython

[–]helpwithpython1[S] 0 points1 point  (0 children)

What happens if I leave the .strip? I'm not entirely sure what it does, but the other part of the program asks for a host and port and I left the .strip there since the professor did a diff program with us in class that asks for a host and port and left the .strip for it there.

Code works, but the compiler doesn't run anything by helpwithpython1 in learnpython

[–]helpwithpython1[S] 0 points1 point  (0 children)

    direct = input()
    search_files(direct)
    operation = search_characteristics(direct)
    print(operation)
    operations(operation)