troubleshooting Question

Python question

Avatar of Hiro 714
Hiro 714 asked on
Python
5 Comments2 Solutions30 ViewsLast Modified:
I want to append a string if anything does not start with azbox- or flx-
Please advise.

    if x not in res and x != 'azbox-monitor' and x !=  'flx-azbox': 
        res.append(x)
        print(x)
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros