Skip to content

Instantly share code, notes, and snippets.

@jack126guy
Created November 13, 2025 04:43
Show Gist options
  • Select an option

  • Save jack126guy/8f2f3218780c32534a5e100421e58b09 to your computer and use it in GitHub Desktop.

Select an option

Save jack126guy/8f2f3218780c32534a5e100421e58b09 to your computer and use it in GitHub Desktop.
Program for assuring that string input contains no fifth glyph (Latin symbol amid D and F), coding of which also contains no fifth glyph
import sys
for l in sys.stdin:
fifth_found = 0
if chr(69) in l or chr(101) in l:
fifth_found = 1
if fifth_found:
print("Input contains a fifth glyph!")
@jack126guy
Copy link
Author

Inspiration is from a post on oulipo.social, a Mastodon instantiation that forbids that char.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment