52 questions
Hello! While I was working on this and that with what I learned, I thought I could randomly extract two lists at once and make a code, but in the A=tuple(a) step, it said TypeError: 'NoneType' object ...
d = np.random.choice(['A', 'B', 'C', 'D'], 30, p=[0.4, 0.4, 0.1, 0.1])print(d)From the above code Can I set it to turn the same character back to random if it comes out 3 times in a row like AAA?I'd l...
« | - 6 - |
© 2024 OneMinuteCode. All rights reserved.