Zadanie3 #28

Closed
s407228 wants to merge 18 commits from s407228/DALGLI0:Zadanie3 into master
Showing only changes of commit 1dc92f3872 - Show all commits

View File

@ -111,7 +111,7 @@ def decode(message,crc):
if suma == 0: if suma == 0:
print("true ") print("true ")
elif suma > 0: elif suma > 0:
print("false",remainder) print("false")
def encode(message): def encode(message):
@ -153,4 +153,4 @@ def main():
crc = argv[3] crc = argv[3]
decode(sys.argv[1],sys.argv[3]) decode(sys.argv[1],sys.argv[3])
if __name__ == '__main__': if __name__ == '__main__':
main() main()