• 2022-05-28
    写出下列语句的输出结果:print(1 or 2, 0 or 2, False or True,True or False,False or 2,sep=' ')print(1 and 2, 0 and 2, False and 2,True and 2,False and True,sep=' ')
  • 1 2 True True 22 0 False 2 False

    内容

    • 0

      ‎下列程序输出结果有true的是‎ A: true = "true"false = "false"if false: print(false)elif true: print(true) B: true = "true"false = "false"if true: print(true)elif false: print(false) C: true = "true"false = "false"if False: print(false)elif True: print(true) D: true = "true"false = "false"if True: print(true)elif False: print(false)

    • 1

      在VB语言中,“Print 2>2”输出结果是()。 A: 0 B: 1 C: True D: False

    • 2

      (true + false) == 2 - true,结果为false</p></p>

    • 3

      (true + false) == 2 - true,结果为false A: 正确 B: 错误

    • 4

      Two statements about spreadsheets follow.<br/>Is each statement true or false? A: Statement 1 is true, Statement 2 is false B: Both statements are true C: Statement 1 is false, Statement 2 is true D: Both statements are false