πŸ“Š Python
Q. Which of the following instructions will work without error?
  • (A) round(2.5)
  • (B) round(999.214,3,0)
  • (C) round()
  • (D) round(102.4879,1,7)
πŸ’¬ Discuss
βœ… Correct Answer: (A) round(2.5)

Explanation: Run help(round) in the shell to get details of the parameters passed to the “round” function.

Explanation by: Tanmay
Run help(round) in the shell to get details of the parameters passed to the “round” function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
193
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Tanmay
Publisher
πŸ“ˆ
98%
Success Rate