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