Exercise 7: Flip the coin- Advanced

Hello, here is my code for flip the coin exercise- advanced level. However, I haven’t passed the test yet and anyone can help me to figure out what’s mistakes in those lines of code. Thank you and here is the code: import numpy as np