【多选题】坚持正确的舆论导向,好的舆论可以成为()
【判断题】线路纵断面图路肩设计标高栏中,在各变坡点,百米标和加标处注明路肩设计标高,单位为 千米(中级线路工用)。
【单选题】What will be displayed by the following code? def f1(x = 1 , y = 2 ): x = x + y y += 1 print(x, y) f1()
C.
The program has a runtime error because x and y are not defined.
【单选题】Which statement about the following code block is right?deff(x):a=7print(a+x)a=5f(3)print(a)
A.
The output is 10 and 7.
B.
The output is 10 and 5.
C.
The output is 8 and 5.
D.
There will be an error.
【单选题】What will be displayed by the following code? x = 1 def f1(): global x x = x + 2 print(x) f1() print(x)
C.
The program has a runtime error because x is not defined.
【单选题】What will be displayed by the following code? x = 1 def f1(): y = x + 2 print(y) f1() print(x)
C.
The program has a runtime error because x is not defined.
【单选题】What will be displayed by the following code? def f1(x = 1 , y = 2 ): x = x + y y += 1 print(x, y) f1( 2 , 1 )
C.
The program has a runtime error because x and y are not defined.
【单选题】What will be displayed by the following code? def f1(x = 1 , y = 2 ): return x + y, x - y x, y = f1(y = 2 , x = 1 ) print(x, y)
C.
The program has a runtime error because the function returns the multiple values
【多选题】坚持正确的舆论导向,好的舆论可以成为( )