MCQ Answer

Which of the following will run without errors?

Which of the following will run without errors?

निम्नलिखित में से कौन सी त्रुटियों के बिना चलेगा?
Topic : Introduction to Python

A. round(45.8)

B. round(6352.898,2,5)

C. round()

D. round(7463.123,2,1)




Correct Answer is :

A. round(45.8)



Explanation
Execute help(round) in the shell to get details of the parameters that are passed into the round function.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz