Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. x = 'alias exec diff sh archive config differences nvram:startup-config system:running-config'
  2. ignore
  3. Out[171]: ['duplex', 'alias', 'Current configuration']
  4.  
  5. for i in ignore:
  6. ...: if i in x:
  7. ...: print('+1')
  8. ...: continue
  9. ...:
  10. ...: else:
  11. ...: print (x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement