Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. Which of the following will run without errors ?
  2. A.
    round(45.8)
    B.
    round(6352.898,2,5)
    C.
    round()
    D.
    round(7463.123,2,1)

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Execute help(round) in the shell to get details of the parameters that are passed into the round function.


Be The First To Comment