-
RandomState.bytes(length)
-
Return random bytes.
Parameters: length : int
Number of random bytes.
Returns: out : str
String of length
length
.Examples
12>>> np.random.bytes(
10
)
' eh\x85\x022SZ\xbf\xa4'
#random
RandomState.bytes()

2025-01-10 15:47:30
Please login to continue.