Level 9 : What will be the output of the following Python code?


print('%s' %((1.23,),))

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