Zadanie3 #28
4
Zadanie3
4
Zadanie3
@ -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()
|
Loading…
Reference in New Issue
Block a user