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


import statistics
    statistics.stdev([1,1.5,2,2.5,3,3.5,4,4.5,5])

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