2021-01-14 10:00:43 +03:00
|
|
|
False
|
|
|
|
True
|
|
|
|
True
|
|
|
|
False
|
|
|
|
False
|
|
|
|
False
|
|
|
|
[1, 3, 4, 5]
|
|
|
|
[1, 3, 4]
|
|
|
|
list index out of range: 3
|
2023-01-26 14:01:12 +03:00
|
|
|
['__class__', '__dir__', '__doc__', '__eq__', '__format__', '__hash__', '__init__', '__init_subclass__', '__new__', '__repr__', '__setattr__', '__str__', 'baz', 'qux']
|
2021-01-14 10:00:43 +03:00
|
|
|
42
|
2023-01-26 14:01:12 +03:00
|
|
|
['__class__', '__dir__', '__doc__', '__eq__', '__format__', '__hash__', '__init__', '__init_subclass__', '__new__', '__repr__', '__setattr__', '__str__', 'qux']
|
2021-01-14 10:00:43 +03:00
|
|
|
hi
|
|
|
|
'object' object has no attribute 'baz'
|
2023-01-26 14:01:12 +03:00
|
|
|
['__class__', '__dir__', '__doc__', '__eq__', '__format__', '__hash__', '__init__', '__init_subclass__', '__new__', '__repr__', '__setattr__', '__str__']
|
2021-01-14 10:00:43 +03:00
|
|
|
'object' object has no attribute 'bar'
|