I found a function, where author used ":" colon when described parameters. What does ':' mean?
def fit(self, x: np.array, y: np.array):
pass
I tried to write same function
def F(x: int):
print(x)
F('7')
When I tries to start it, it was no mistake, even though I used not integer x