单选题 35.以下代码的输出结果是?() print(" (} 的年龄是{)岁".format("小明",18))

A. 小明的年龄是18岁

B. {} 的年龄是{}岁

C. "小明"的年龄是"18"岁

D. 报错

参考答案与解析:

相关试题

以下语句的输出结果是______。Print Format$("158","#,

[单选题]以下语句的输出结果是______。 Print Format$("158","#,###.00")A.123.58B.123.00C.123.58D.0,123.58

  • 查看答案
  • 以下语句的输出结果是______。Print Format$("32545","

    [单选题]以下语句的输出结果是______。 Print Format$("32545","000,000.00")A.32548.5B.32.548.5C.032.548.50D.32,548.50

  • 查看答案
  • 以下语句的输出结果是______。Print Format$("158","#,

    [单选题]以下语句的输出结果是______。 Print Format$("158","#,###.00")A.123.58B.123.00C.,123.58D.0,123.58

  • 查看答案
  • 以下语句的输出结果是 ______。Print Format$("123.58"

    [单选题]以下语句的输出结果是 ______。 Print Format$("123.58","#,###.00")A.123.58B.123.00C.123.58D.0,123.58

  • 查看答案
  • 以下语句的输出结果是______。Print Format$("123.58",

    [单选题]以下语句的输出结果是______。 Print Format$("123.58","#,###.00")A.123.58B.123.00C.,123.58D.0,123.58

  • 查看答案
  • 以下程序段的输出结果是()Print Format(0.123,"0.00%")

    [单选题]以下程序段的输出结果是()Print Format(0.123,"0.00%")A . 12.3%B . 1.23%C . 12.30%D . 01.23%

  • 查看答案
  • 以下语句的输出结果是 ______。Print Format$("32548.5

    [单选题]以下语句的输出结果是 ______。 Print Format$("32548.5","000,000.00")A.32548.5B.32,548.5C.32548.5D.32548.5

  • 查看答案
  • 语句Print Format("HELLO","<")的输出结果是()

    [单选题]语句Print Format("HELLO","<")的输出结果是()A . HELLOB . helloC . HeD . he

  • 查看答案
  • 以下语句的输出结果是a=Sqr(3)Print Format(a, "$$ #

    [单选题]以下语句的输出结果是 a=Sqr(3) Print Format(a, "$$ # # # # . # # #")A.$1.732B.$S1.732C.1732D.$$0001.732

  • 查看答案
  • 以下语句的输出结果是_______。Print Format$("123 .58

    [单选题]以下语句的输出结果是_______。 Print Format$("123 .58","#,###.00")A.123.58B.123.00C.123.58D.0123.58

  • 查看答案