r/learningpython • • Feb 22 '21
Combining lower() and strip()
how do I combine lower() and strip() when using if/else statement?
2
Upvotes
r/learningpython • • Feb 22 '21
how do I combine lower() and strip() when using if/else statement?
View all comments
Show parent comment
1
u/[deleted] Feb 22 '21
.lower().strip() doesn't work for me for unknown reasons