Whats the difference between a.len and len(a)? Suppose 'a' is a variable [closed]2019 Community Moderator ElectionWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?What does the “yield” keyword do?Difference between append vs. extend list methods in PythonWhat does if __name__ == “__main__”: do?How do I sort a dictionary by value?What's the difference between lists and tuples?Difference between __str__ and __repr__?Determine the type of an object?Iterating over dictionaries using 'for' loops

Happy pi day, everyone!

Min function accepting varying number of arguments in C++17

How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?

Are there verbs that are neither telic, or atelic?

How could a scammer know the apps on my phone / iTunes account?

Are all passive ability checks floors for active ability checks?

How to write cleanly even if my character uses expletive language?

Is there a data structure that only stores hash codes and not the actual objects?

How to create the Curved texte?

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

Sailing the cryptic seas

Error in Twin Prime Conjecture

Did Ender ever learn that he killed Stilson and/or Bonzo?

A sequence that has integer values for prime indexes only:

Are ETF trackers fundamentally better than individual stocks?

Why is the President allowed to veto a cancellation of emergency powers?

Do I need life insurance if I can cover my own funeral costs?

A Cautionary Suggestion

Official degrees of earth’s rotation per day

Credit cards used everywhere in Singapore or Malaysia?

Why do passenger jet manufacturers design their planes with stall prevention systems?

How to deal with a cynical class?

What did Alexander Pope mean by "Expletives their feeble Aid do join"?

Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible



Whats the difference between a.len and len(a)? Suppose 'a' is a variable [closed]



2019 Community Moderator ElectionWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?What does the “yield” keyword do?Difference between append vs. extend list methods in PythonWhat does if __name__ == “__main__”: do?How do I sort a dictionary by value?What's the difference between lists and tuples?Difference between __str__ and __repr__?Determine the type of an object?Iterating over dictionaries using 'for' loops










-4















Suppose there is a variable named a. Whats the difference between a.len and len(a)?



a could be a tuple, list or dictionary or a dataframe.










share|improve this question















closed as unclear what you're asking by deceze Mar 7 at 14:24


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • 2





    Do you mean a.__len__()?

    – JETM
    Mar 7 at 14:21






  • 5





    The difference is that a.len is an attribute, and does not exist for list tuple or dictionary. len(a) calls the __len__() method of objects

    – BlueSheepToken
    Mar 7 at 14:22












  • Try it and let us know…?

    – deceze
    Mar 7 at 14:24






  • 1





    What happens when you compare the result of a.len and len(a) when a is each of the things you mentioned?

    – glibdud
    Mar 7 at 14:25















-4















Suppose there is a variable named a. Whats the difference between a.len and len(a)?



a could be a tuple, list or dictionary or a dataframe.










share|improve this question















closed as unclear what you're asking by deceze Mar 7 at 14:24


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • 2





    Do you mean a.__len__()?

    – JETM
    Mar 7 at 14:21






  • 5





    The difference is that a.len is an attribute, and does not exist for list tuple or dictionary. len(a) calls the __len__() method of objects

    – BlueSheepToken
    Mar 7 at 14:22












  • Try it and let us know…?

    – deceze
    Mar 7 at 14:24






  • 1





    What happens when you compare the result of a.len and len(a) when a is each of the things you mentioned?

    – glibdud
    Mar 7 at 14:25













-4












-4








-4








Suppose there is a variable named a. Whats the difference between a.len and len(a)?



a could be a tuple, list or dictionary or a dataframe.










share|improve this question
















Suppose there is a variable named a. Whats the difference between a.len and len(a)?



a could be a tuple, list or dictionary or a dataframe.







python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 14:28









ruohola

1,427319




1,427319










asked Mar 7 at 14:20









Ujjwal MahajanUjjwal Mahajan

1




1




closed as unclear what you're asking by deceze Mar 7 at 14:24


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as unclear what you're asking by deceze Mar 7 at 14:24


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 2





    Do you mean a.__len__()?

    – JETM
    Mar 7 at 14:21






  • 5





    The difference is that a.len is an attribute, and does not exist for list tuple or dictionary. len(a) calls the __len__() method of objects

    – BlueSheepToken
    Mar 7 at 14:22












  • Try it and let us know…?

    – deceze
    Mar 7 at 14:24






  • 1





    What happens when you compare the result of a.len and len(a) when a is each of the things you mentioned?

    – glibdud
    Mar 7 at 14:25












  • 2





    Do you mean a.__len__()?

    – JETM
    Mar 7 at 14:21






  • 5





    The difference is that a.len is an attribute, and does not exist for list tuple or dictionary. len(a) calls the __len__() method of objects

    – BlueSheepToken
    Mar 7 at 14:22












  • Try it and let us know…?

    – deceze
    Mar 7 at 14:24






  • 1





    What happens when you compare the result of a.len and len(a) when a is each of the things you mentioned?

    – glibdud
    Mar 7 at 14:25







2




2





Do you mean a.__len__()?

– JETM
Mar 7 at 14:21





Do you mean a.__len__()?

– JETM
Mar 7 at 14:21




5




5





The difference is that a.len is an attribute, and does not exist for list tuple or dictionary. len(a) calls the __len__() method of objects

– BlueSheepToken
Mar 7 at 14:22






The difference is that a.len is an attribute, and does not exist for list tuple or dictionary. len(a) calls the __len__() method of objects

– BlueSheepToken
Mar 7 at 14:22














Try it and let us know…?

– deceze
Mar 7 at 14:24





Try it and let us know…?

– deceze
Mar 7 at 14:24




1




1





What happens when you compare the result of a.len and len(a) when a is each of the things you mentioned?

– glibdud
Mar 7 at 14:25





What happens when you compare the result of a.len and len(a) when a is each of the things you mentioned?

– glibdud
Mar 7 at 14:25












0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived