+ 2

Can anyone explain me why sometimes the length of the password is not 8?

https://code.sololearn.com/cWHx45Rd1TJm/?ref=app

30th May 2019, 7:19 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
4 odpowiedzi
+ 6
It'll always be eight chars, but several chars in the range 0-100 are not printable
30th May 2019, 7:28 PM
Anna
Anna - avatar
+ 4
For not printable chars I get an □ Here is an ascii table: https://theasciicode.com.ar/american-standard-code-information-interchange/ascii-codes-table.png As you can see the printable characters starts with 32 (a white space) and ends at 126 (~). I would start with 33 (!). I am not sure about 127 - 255.
30th May 2019, 8:24 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Anna ok, thanks.
30th May 2019, 7:37 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
+ 1
Denise Roßberg Yeah, thanks I saw the the table.and changed it
30th May 2019, 8:25 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar