• 2022-07-27 问题

    下列表达式中,与其他3个表达式的值不相同的是( )。 A: "ABC"+"DEF" B: "".join(["ABC","DEF"]) C: "ABC"-"DEF" D: "ABCDEF"* 1

    下列表达式中,与其他3个表达式的值不相同的是( )。 A: "ABC"+"DEF" B: "".join(["ABC","DEF"]) C: "ABC"-"DEF" D: "ABCDEF"* 1

  • 2022-05-31 问题

    以下类方法定义正确的是() A: class Student: fav=("唱歌","跳舞","绘画") def showFav(cls): for item in cls.fav: print(item) B: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in fav: print(item) C: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in cls.fav: print(item) D: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(): for item in fav: print(item)

    以下类方法定义正确的是() A: class Student: fav=("唱歌","跳舞","绘画") def showFav(cls): for item in cls.fav: print(item) B: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in fav: print(item) C: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in cls.fav: print(item) D: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(): for item in fav: print(item)

  • 2021-04-14 问题

    下列程序返回的结果是a = "first"def second(a): a = "second"def third(): global a a = "third"third()print(a, end=',')second("fourth")print(a)? third, third;|second,third;|second,first|first,second;

    下列程序返回的结果是a = "first"def second(a): a = "second"def third(): global a a = "third"third()print(a, end=',')second("fourth")print(a)? third, third;|second,third;|second,first|first,second;

  • 2022-06-10 问题

    以下字符串合法的是(). A: "abe 'def'ghi" B: "I love"love" Python" C: "I love Python' D: 'I love' Python "

    以下字符串合法的是(). A: "abe 'def'ghi" B: "I love"love" Python" C: "I love Python' D: 'I love' Python "

  • 2022-05-28 问题

    import flask____________@app.route("/")def index(): return "hello"app.run()缺少的语句是: A: app=flask("web") B: app=Flask("web") C: app=flask.Flask("web") D: app=flask.Flask()

    import flask____________@app.route("/")def index(): return "hello"app.run()缺少的语句是: A: app=flask("web") B: app=Flask("web") C: app=flask.Flask("web") D: app=flask.Flask()

  • 2022-05-30 问题

    Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"

    Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"

  • 2022-06-12 问题

    What will be the output of the following Python code? [br][/br]print("abc DEF".capitalize()) A: abc def B: ABC DEF C: Abc def D: Abc Def

    What will be the output of the following Python code? [br][/br]print("abc DEF".capitalize()) A: abc def B: ABC DEF C: Abc def D: Abc Def

  • 2022-06-18 问题

    定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };

    定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };

  • 2022-06-09 问题

    函数定义格式正确的是() A: def f(n) B: def f(n): C: def (n): D: def fn:

    函数定义格式正确的是() A: def f(n) B: def f(n): C: def (n): D: def fn:

  • 2021-04-14 问题

    下列语句中,正确的是? def f(a,b,*):;;|def f(a=0,b):|def f(a,b==0):;|def f(a,*b):

    下列语句中,正确的是? def f(a,b,*):;;|def f(a=0,b):|def f(a,b==0):;|def f(a,*b):

  • 1 2 3 4 5 6 7 8 9 10