To make numbers be of a specific length, zeroes are padded to the left. Which of the following is the best way to pad a string with zeroes to the left, to make its length 5? The string is: num = '123'
Correct Answer: print num.zfill(5)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions