Python
0 of 12 solved
12 questions
- is vs ==, and shallow copy vs deep copyObject identity and copyingEasyConceptual
- list vs tuple vs set vs dict: which one and why?Built-in data structuresEasyConceptual
- Group students by branch with defaultdictDictionaries and sortingEasyCoding
- *args, **kwargs, and keyword-only parametersFunction parametersEasyConceptual
- Most common word that is not on a banned listStrings, regex and CounterEasyCoding
- Shift letters with str.maketrans (Caesar shift)String methodsEasyCoding
- Topper and average for each subject from CSV rowsParsing and aggregationMediumCoding
- How do decorators work? Write a timing decoratorDecorators and closuresMediumConceptual
- Generators and yield: how are they different from returning a list?Iterators and generatorsMediumConceptual
- Why is def add(item, bucket=[]) a bug?Functions and mutabilityMediumConceptual
- Flatten a nested list and report its depthRecursion and generatorsMediumCoding
- The GIL: when do threads help in Python, and when do you need multiprocessing or asyncio?ConcurrencyHardConceptual
