Level 9 : What is output for following code


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

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