Aug-09-2019, 07:09 AM
gianniskampanakis Wrote:Σε ευχαριστώ το type(i) εκτός από int τι τιμες μπορεί να πάρει στην περίπτωση μας ;I couldn't find a rule that enforces this, but try to use english in the forum as very few members read and understand greek. Note that
if type(i) == int
is not colloquial python code. The best way to do this isif isinstance(i, int): ...