Level 9 : What is output for following code


y = [4, 5,1j]
y.sort()

Author: HareramG | Tags: function | 1859+ Python FAQs | Share
descriptors | raise | dictionary-comprehensions | counter | dictionary | conversion | intering | else-statement | command-line-parsing | error-handling | collections | class-and-instance-variable | boolean-masking | global-variable | input-function | key-value-pairs | immutability | data-structure | handling-missing-values-(fillna,-dropna) | classes | attribute | identity-operator | inherit | match | join | list-comprehension | else | numeric | pandas | mathematical-function | multiple-except-blocks | bitwise | default-arguments | input | swapping | operations | operand | file-handling | introduction-to-threads | data-type | thread | sum() | round | sorted | scientific-notation | expression | rollback | lambda-function | recursion | string-manipulation | head-and-tail | exception-handling | datatype | statement | operator-overloading | python-module | max-min | range | sorting-and-ranking | managing-directories-with-os-and-shutil | touples | writing:-write(),-writelines() | input-function | math-copysign | introduction-to-multiprocessing | polymorphism | copy | syntax | logical-operators | import-method | global-keyword | why-use-multiprocessing-over-threading?-(gil) | string | sum-function | collection | string-method | indentation | datetime | multiple-inheritance | typeerror | functional-programming | regular-expression | built-in-function | python-operators | namedtuple | membership-operators-(in,-not-in) | default-mutable-argument | filter-function | list-method | library | condition | tuple-methods | mysql | deep-copy | init | goto-function | list | string-formatting | overriding-methods | dataframe-and-series-objects | list-indexing | recurssion | implementation | using-else-and-finally | introduction-to-python | regex | lambda | constructor | inheritance | control-statement | string-slicing | floats | counter-function | identity-operators-(is,-is-not) | id-function | turtle | design-principle | oops | type_conversion | sys | complex | with-statement | odd-number | print | iterator | working-with-dates-and-times | objects | choice | global | method | memory | set | difference-between-threads-and-processes | anchors-(^,-$) | multiprocessing | joining-and-merging-dataframes | filter | list-join | static-method | comprehension | matplotlib | error-handling | module | update | numpy | global-variable | sets | higher-order-function | for | identity-operator | lists | identifier | heap-memory | sorting | python-syntax-and-structure | loop | frozenset | function | virtual-environment | memory-management | return-statement | integer | slicing | assignment-operators | pseudocode | tuples | oop | namespace | using-yield-in-functions | loop-control-statements | immutable-data-type | __all__-attribute | lambdas | application | slice | string-method | data-type-conversions | while-else-loop | control-flow | boolean-and-non-boolean | error | staticmethod | generator | iterators | loop-control | formatting-with-strftime | booleans | test-discovery | python_version | postfix | walking-through-directories-using-os.walk() | class-decorators | print-statement | installation | benefit | int | list-comprehensions | basic | while-loops | parsing-with-strptime | string-iteration | indexing:-loc-vs-iloc | map-function | while-loop | software-design | list-methods-and-slicing | mapping-function | split | factorial-function | generators | feature | datetime.date,-datetime.time,-datetime.datetime | string-methods | using-lists-as-stacks | reading:-read(),-readline(),-readlines() | regular-expressions | python-django | name-mangling | string-slicing | operator | iterable | __future__ | virtual-environment | file | lambda-functions | python-history | def | nested-loop | generators-in-python | list-mutation | sys-module | multithreading | interpreter | type-conversion | binary-operation | matrix | list-comprehension | assignment-operator | asyncio | precedence-and-associativity | filtering-and-indexing | variable | string-formatting | invalid-list | compute | keyword | docstring | type-conversion | conditional-statement | integers | data-type | using-join()-and-is_alive()-methods | indexing | logical-operator | exponentiation | arithmetic-expression | file-handling | control-flow | using-os-and-pathlib-modules | shallow-copy | arithmetic-operation | gil | working-with-temporary-files-using-tempfile | thread-synchronization | stack | working-with-binary-files-(rb,-wb) | working-with-file-paths | data-structures | __init_subclass__ | complex-number | multiple-inheritance | data_structure | string-concatenation | object-attribute | fabs-function | overflow | syntax-error | method-overloading | tuple-unpacking | comparison | single-inheritance | zip-function | exception-handling | function-and-scope | pep | yield | call | unit-testing | debugging | syntaxerror | tuple | reading-and-writing-large-files-efficiently | type-conversion-and-casting | assert | using-assertions-(assertequal,-assertraises) | math | formal-and-actual-parameter | thread-safe-data-structures-(queue.queue) | list-operation | encapsulation | binary | opening-files-(open()) | loops | round-function | mathematics | expand-tab | async | context-manager | escape-operator | set-operation | dictionary-methods | zip | arbitrary-arguments-(*args,-**kwargs) | built-in-function | exception | append | random-function | encoding | class | while-and-for-loop | function-argument | operator-and | bitwise-operator | methods | zfill-function | built-in | file_handling | functional-programming | format | enumerate() | precedence | directory-operations | floating-point-precision | bitwise-operator | threading | functions | decimal | data-structures-in-python | literal-characters-and-special-characters | parameter | strings | syntax-error | version-check | using-the-threading-module | conditional-statement | python-repl | destructor | logical-operator | list-vs-tuple | data-types | list,-set,-and-dictionary-comprehensions | defining-functions | min-function | pickling--unpickling | comment | reading-and-writing-files | using-map()-for-transformations | array | pass | dictionaries | center | creating-custom-modules | time-series-with-pandas | asyncio-module | logical-operation | data-structure | class-and-inheritance | version | operators | creating-and-starting-threads | decorator | random | quantifiers-(*,-+,-?,-{}) | magic-method | package-management | matrix-list-comprehension | operator-or | raise-statement | access-modifier | advanced-file-operations | python | class-and-object | boolean | aggregating-data-with-functools.reduce() | min-max-function | mutable | list-slicing | dicts | built-in-modules | conditional-statements ...