Skip to content

Instantly share code, notes, and snippets.

@giasuddin90
Created October 30, 2019 10:46
Show Gist options
  • Select an option

  • Save giasuddin90/8d85519735d395c0fcb9cc4e961baea4 to your computer and use it in GitHub Desktop.

Select an option

Save giasuddin90/8d85519735d395c0fcb9cc4e961baea4 to your computer and use it in GitHub Desktop.
python script for checking ASCII. Result will be provided in Boolean.
__author__ = 'giasuddin'
def is_ascii(s):
return all(ord(c) < 128 for c in s)
if __name__ == '__main__':
test=is_ascii('রিকোয়ারমেন্')
print(test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment