print() is a function just like every other function (#1101)

* print() is a function just like every other function
This commit is contained in:
Christian Clauss 2019-08-06 12:14:23 +02:00 committed by Harshil
parent 6654e1ec7d
commit 89acf5d017
13 changed files with 133 additions and 133 deletions

View File

@ -188,22 +188,22 @@ class XORCipher(object):
# key = 67
# # test enrcypt
# print crypt.encrypt("hallo welt",key)
# print(crypt.encrypt("hallo welt",key))
# # test decrypt
# print crypt.decrypt(crypt.encrypt("hallo welt",key), key)
# print(crypt.decrypt(crypt.encrypt("hallo welt",key), key))
# # test encrypt_string
# print crypt.encrypt_string("hallo welt",key)
# print(crypt.encrypt_string("hallo welt",key))
# # test decrypt_string
# print crypt.decrypt_string(crypt.encrypt_string("hallo welt",key),key)
# print(crypt.decrypt_string(crypt.encrypt_string("hallo welt",key),key))
# if (crypt.encrypt_file("test.txt",key)):
# print "encrypt successful"
# print("encrypt successful")
# else:
# print "encrypt unsuccessful"
# print("encrypt unsuccessful")
# if (crypt.decrypt_file("encrypt.out",key)):
# print "decrypt successful"
# print("decrypt successful")
# else:
# print "decrypt unsuccessful"
# print("decrypt unsuccessful")