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
1 Like
Thanks for replying! Yes, my code returns int, but it was incorrect.
Can you share your code?
1 Like
I wrore this.
num = np.random.choice(bit)
return num
Finally, I received ‘correct!’ Thanks a lot!
1 Like