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