Level 1 : What will be the type of the variable sorted_numbers in the below code snippet?


numbers = (4, 7, 19, 2, 89, 45, 72, 22)
sorted_numbers = sorted(numbers)
print(sorted_numbers)

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