Make random choice compatible with python3
This commit is contained in:
parent
9c8d015902
commit
9ae82ad584
@ -2,5 +2,5 @@
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import random
|
import random
|
||||||
print sys.argv[1:]
|
print(sys.argv[1:])
|
||||||
print random.choice(sys.argv[1:])
|
print(random.choice(sys.argv[1:]))
|
||||||
|
Loading…
Reference in New Issue
Block a user