下列程序的运行结果是 >>> s = ‘PYTHON’ >>> “{0:3}”.format(s)
举一反三
- 下列程序的运行结果是 >;>;>; s = ‘PYTHON’ >;>;>; “{0:3}”.format(s) A: ‘PYTH’ B: ‘PYTHON’ C: ‘ PYTHON’ D: ‘PYT’
- 下列程序的运行结果是( )s = "Python""{0:3}".format(s) A: 'Pyth' B: 'Pyt' C: 'Python' D: ' thon'
- Python中,下列程序的运行结果是(). >>>s = “hello world" >>> "{:^20}".format(s)
- 哪个选项是下面代码的执行结果? s=‘PYTHON’ print("{0:3}".format(s))
- 哪个选项是下面代码的执行结果?s = 'PYTHON'print("{0:3}".format(s)) A: PYTHON B: PYTHON C: PYTH D: PYT