In the last chapter, we learned about functions and scope of variable. In functions, we learned about defining a function, functions with arguments, functions with arguments and return type, functions with default arguments, functions with variable length arguments, and, finally, in functions, we saw how to use key-value pairs as variable length arguments. We covered the topic of scope variable and memory management. In this chapter, we will touch the essence of every programming language, that is, collections. Some of the topics under collections such as list, dictionary, and tuple have already been covered in the previous chapter. In this chapter, we will be looking at counter, deque, ordered dictionary, default dictionary, and named tuple.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia