+ 1
Tuple elements LEN
random=(1, “Dijon”, 13.4) len(random) Is this code supposed to show how many elements this tuple contains? I’m expecting a 3 to show but instead it shows nothing, why?
4 odpowiedzi
random=(1, “Dijon”, 13.4) len(random) Is this code supposed to show how many elements this tuple contains? I’m expecting a 3 to show but instead it shows nothing, why?