Created
May 4, 2020 10:46
-
-
Save emilgaripov/3a244d1642c2d3b3a501b0211677b2d7 to your computer and use it in GitHub Desktop.
Type Error Message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
TypeError Traceback (most recent call last) | |
<ipython-input-2-24a72a1aa1d6> in <module> | |
12 mac_ = mac.strip().split(':') | |
13 mac_ = ''.join(mac_) | |
---> 14 mac_ = bin(mac_) | |
15 mac_ = mac_.lstrip('0b') | |
16 print(mac_) | |
TypeError: 'str' object cannot be interpreted as an integer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment