若字符串 s = 'hello',则语句 s.ljust(8, '.') 和 s.rjust(8) 的输出结果为____________。

A.'...hello' ' hello' B.'hello...' ' hello' C.'hello...' 'hello ' D.'hello...' 'hello'

时间:2024-02-11 05:22:37

相似题目