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