Skip to content

Instantly share code, notes, and snippets.

@chwnam
Created March 29, 2022 08:48
Show Gist options
  • Select an option

  • Save chwnam/7a59cce4a91ffddb11700314ce7b1fa4 to your computer and use it in GitHub Desktop.

Select an option

Save chwnam/7a59cce4a91ffddb11700314ce7b1fa4 to your computer and use it in GitHub Desktop.

Revisions

  1. chwnam created this gist Mar 29, 2022.
    16 changes: 16 additions & 0 deletions whitespacehell.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    #!/usr/bin/env python3

    k1 = 'ABCDEag=='
    k2 = 'ABCDEag==​​​'

    print('Length of k1:', len(k1))
    print('Length of k2:', len(k2))

    print('--- k1:')
    for c in k1:
    print(c, ord(c))

    print('')
    print('--- k2:')
    for c in k2:
    print(c, ord(c))