Type checking in Python -


How can I see the parameters of the function? For example,

  def hello (x): check if x is tupal # check if x is dictionary ...   

edit
  isinstance (x, type (()) isinstance (x, type ({})    

You do not.

Talk to you in some type of dragon; it is impossible to correctly check it properly, however, to check some surface surface level Possible, the problem is that the dragon is very flexible

The real question is "why don" t i know which question Is there a car? "

Comments