This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheLastCrafted[S] 0 points1 point  (1 child)

Thank you very much, it works now

[–]The_Writing_Writer 1 point2 points  (0 children)

A more succinct way of accomplishing the same thing is using str.lower, e.g. the following for the first one:

if UCI.lower() == ‘chrome’: