Which of the following functions generates a space-padded string that is left-justified to a total of width columns?
A. Uppercase ()
B. work together (seq)
C. elegans (string)
D. Just (width[, fillchar])
Answer:D
Which of the following functions generates a space-padded string that is left-justified to a total of width columns?
A. Uppercase () B. work together (seq) C. elegans (string) D. Just (width[, fillchar])
Explanation: ljust(width[, fillchar]) returns a space-padded string that has been left-justified to a total of width columns.