0

This is part of a code example I came across regarding the IOTA project. Python is new to me so I am trying to walk through each line. I got to this line and couldn't figure out why the "u" exists between the variable declaration and the string. I tested it independently with and without the "u" and the output is the same. Just trying to understand why it is there.

chars = u'9ABCDEFGHIJKLMNOPQRSTUVWXYZ'

I also came across another example using the same structure but with the letter "b".

MySeed = b"WKQDUZTGFKSSLACUCHHLZRKZBHSDSCEBHKUPDLKFBQALEBKDMFRPUQGZRXAADPG9TSRTZGGBZOFRJCFMM"

Any help is greatly appreciated. Thanks!

Red
  • 26,798
  • 7
  • 36
  • 58

0 Answers0