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