Level 1 : Choose the correct option for the below code.


import math
print(math.ceil(12.7), end=" ")
print(math.floor(12.7))

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