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