You can do it this way for integer values: import numpy as np np.random.seed(12345) print(np.random.randint(256**4, dtype='<u4', size=1)[0])
確定! 回上一頁