I just started with coding in python, at the moment I am trying to define a function that needs an object as input. Before this I just developed in Java.
def welcome_message(c):
msg.send("Hi %s", c.first_name)
So this function works, I was wondering if I still should insert a constraint that c has to be on object of the type Customer? It just doesn't really feel safe for a java experienced developer...