initial version
rodzic
4c68d4832e
commit
8ba1c1a2cc
4
dice.py
4
dice.py
|
@ -40,6 +40,7 @@ def calc_hash(key1,key2):
|
||||||
# print( s )
|
# print( s )
|
||||||
print( w )
|
print( w )
|
||||||
|
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
key1 = sys.argv[1]
|
key1 = sys.argv[1]
|
||||||
if len(sys.argv) > 2:
|
if len(sys.argv) > 2:
|
||||||
|
@ -57,4 +58,5 @@ else:
|
||||||
if len(key1) > 0 or len(key2) > 0:
|
if len(key1) > 0 or len(key2) > 0:
|
||||||
calc_hash(key1, key2)
|
calc_hash(key1, key2)
|
||||||
else:
|
else:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue