Level 10 : What will be the output of the following Python code?


a=(2,3,1,5)
a.sort()
 a

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