Skip to content

Instantly share code, notes, and snippets.

@emilgaripov
Last active September 3, 2020 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emilgaripov/0829c07f785ff9934f41625baecfb5d5 to your computer and use it in GitHub Desktop.
Save emilgaripov/0829c07f785ff9934f41625baecfb5d5 to your computer and use it in GitHub Desktop.
NameError
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-2-44d4e36cfb4a> in <module>
18 command2 = command2.strip().split()
19 command2 = command2[-1].split(',')
---> 20 vlans = sorted(list(set(comand1 + command2)))
21 print(vlans)
22
NameError: name 'comand1' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment