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