1
0
forked from kalmar/DALGLI0

Update 'Zadanie3'

This commit is contained in:
Klaudia Kandulska 2018-06-29 17:13:42 +00:00
parent e5905c0a8a
commit ddb7a240f4

View File

@ -100,6 +100,7 @@ def decode(message,crc):
obroc[i] = "0" obroc[i] = "0"
msg = "".join(obroc) msg = "".join(obroc)
remainder = divide(msg) remainder = divide(msg)
suma = 0 suma = 0
@ -140,7 +141,7 @@ def encode(message):
print("calosc : ", message_final) print("calosc : ", message_final)
print("crc hex : ", ab) print("crc hex : ", ab)
print("crc ascii : ", d) print("crc ascii : ", d)
decode(a,ab)
def main(): def main():
global message global message