单选题
适中
#5754
Python中 print('八进制{0:o}'.format(71)) 正确的输出结果是?( )
Python中 print('八进制{0:o}'.format(71)) 正确的输出结果是?( )
答案与解析
正确答案:B
解析
字符串的format()函数,o:输出整数的小写八制形式,十进制71的八进制为107,正确的输出结果为"八进制107"