I tried it some times and I think I know how works that. But the code I wrote is incorrect. So I’m confused how should I write code. Can I get any hints?
Hi, Mayu I tried this one some couple of times too and I think that the hint you need is that the function should return an int and not an array
Thanks for replying! Yes, my code returns int, but it was incorrect.
Can you share your code?
I wrore this.
num = np.random.choice(bit)
Finally, I received ‘correct!’ Thanks a lot!