• 2022-10-25 问题

    ‎已知a='pYthon',下面哪条语句可以令b为第一个字母大写的字符串'Python'。‌ A: b=a.lower() B: b=a.upper() C: b=a[0].upper()+a[1:].lower() D: b=a[1].upper()+a[2:].lower()

    ‎已知a='pYthon',下面哪条语句可以令b为第一个字母大写的字符串'Python'。‌ A: b=a.lower() B: b=a.upper() C: b=a[0].upper()+a[1:].lower() D: b=a[1].upper()+a[2:].lower()

  • 2022-06-07 问题

    将字符串a="abcd"转成大写<br/>() A: a.upper() B: a.lower() C: a.title()

    将字符串a="abcd"转成大写<br/>() A: a.upper() B: a.lower() C: a.title()

  • 2022-06-11 问题

    下面表达式求值分别是什么? ‘Hello’.upper() ‘Hello’.upper().isupper() ‘Hello’.upper().lower()

    下面表达式求值分别是什么? ‘Hello’.upper() ‘Hello’.upper().isupper() ‘Hello’.upper().lower()

  • 2022-06-05 问题

    执行以下代码输出的是a = 〃Python〃print(a.upper()) A: PYTHON B: python C: Python D: "Python"

    执行以下代码输出的是a = 〃Python〃print(a.upper()) A: PYTHON B: python C: Python D: "Python"

  • 2022-06-11 问题

    upper("AbCd12OK")

    upper("AbCd12OK")

  • 2022-06-11 问题

    UPPER(CHAR)指什么?

    UPPER(CHAR)指什么?

  • 2022-06-04 问题

    Upper world is the same as Hades

    Upper world is the same as Hades

  • 2022-06-05 问题

    The stars of China’s National flag are in the ___. A: center B: upper left-hand corner C: upper right-hand corner D: the right-hand corner

    The stars of China’s National flag are in the ___. A: center B: upper left-hand corner C: upper right-hand corner D: the right-hand corner

  • 2021-04-14 问题

    The upper portion of the iceberg is the ______part of the culture.

    The upper portion of the iceberg is the ______part of the culture.

  • 2022-10-25 问题

    设str=’python’,想把字符串的第一个字母大写,其他字母还是小写,正确的选项是()。 A: print(str[0].upper()+str[1:]) B: print(str[1].upper()+str[-1:1]) C: print(str[0].upper()+str[1:-1]) D: print(str[1].upper()+str[2:])

    设str=’python’,想把字符串的第一个字母大写,其他字母还是小写,正确的选项是()。 A: print(str[0].upper()+str[1:]) B: print(str[1].upper()+str[-1:1]) C: print(str[0].upper()+str[1:-1]) D: print(str[1].upper()+str[2:])

  • 1 2 3 4 5 6 7 8 9 10