mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Print a so encrypted text is shown in ascii, not binary.
This commit is contained in:
parent
9faabb8d23
commit
c4c26414c5
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
test_rotor
|
||||
オq瀬鍼Tムレワ゚
|
||||
'\265q\220\243\350IT\321\007\332\035\334\337'
|
||||
>k(Š,<2C>ËŸâ
|
||||
spam and eggs
|
||||
cheese shop
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ A = 'spam and eggs'
|
|||
B = 'cheese shop'
|
||||
|
||||
a = r.encrypt(A)
|
||||
print a
|
||||
print `a`
|
||||
b = r.encryptmore(B)
|
||||
print b
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue