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


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

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