Level 10 : What is the output of the following code?


dictt = {1:2, 3:4, 5:6}
print(sorted(dictt.values()))

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