Level 2 : To find the decimal value of 1111, that is 15, we can use the function

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