Skip to content

Instantly share code, notes, and snippets.

@audhiaprilliant
Created July 13, 2021 02:15
Show Gist options
  • Select an option

  • Save audhiaprilliant/b1b3e3968b91fabc3bff768149ce5dcc to your computer and use it in GitHub Desktop.

Select an option

Save audhiaprilliant/b1b3e3968b91fabc3bff768149ce5dcc to your computer and use it in GitHub Desktop.
# Check length of ID
def checkLength(ID):
length = len(str(ID))
# check length
status = False
if length == 16:
status = True
return (status, length)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment