Update 'Zadanie3'
This commit is contained in:
parent
e5905c0a8a
commit
ddb7a240f4
3
Zadanie3
3
Zadanie3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user