File size: 1,935 Bytes
0109502
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  "variables_and_assignment": "Variables, assignment, and basic value storage",
  "basic_data_types": "Integers, floats, strings, booleans, and None",
  "string_operations": "String creation, formatting, indexing, slicing, and methods",
  "lists": "List creation, indexing, modification, and list methods",
  "tuples": "Tuple creation, unpacking, and tuple operations",
  "sets": "Set creation, membership, and set operations",
  "dictionaries": "Dictionary creation, access, updates, and dictionary methods",
  "operators": "Arithmetic, comparison, logical, identity, and membership operators",
  "conditional_statements": "if, elif, else, and conditional logic",
  "for_loops": "Iteration using for loops",
  "while_loops": "Repetition using while loops",
  "loop_control": "break, continue, pass, and loop control behavior",
  "functions": "Function definitions, parameters, arguments, and return values",
  "variable_scope": "Local, global, and nonlocal scope",
  "exception_handling": "try, except, else, finally, and raise",
  "classes_and_objects": "Class definitions, instances, attributes, and methods",
  "inheritance": "Class inheritance, super(), and method overriding",
  "comprehensions": "List, dictionary, and set comprehensions",
  "generators": "yield, generator functions, and generator expressions",
  "iterators": "Iterator protocols, iter(), next(), and custom iterators",
  "decorators": "Function and class decorators",
  "context_managers": "with statements and custom context managers",
  "unpacking": "Sequence, iterable, and dictionary unpacking",
  "lambda_functions": "Lambda expressions and anonymous functions",
  "type_hints": "Annotations for variables, parameters, and return values",
  "async_await": "Coroutines, async functions, await, and asynchronous flow",
  "structural_pattern_matching": "match and case statements",
  "modules_and_imports": "Module imports and basic module organization"
}