下面python代码的执行结果是:()a = "gouguoqi"b = a.capitalize()print (a)print (b)
A: Gouguoqi,Gouguoqi
B: gouguoqi,Gouguoqi
C: Gouguoqi,GOUGUOQI
D: gouguoqi,GOUGUOQI
A: Gouguoqi,Gouguoqi
B: gouguoqi,Gouguoqi
C: Gouguoqi,GOUGUOQI
D: gouguoqi,GOUGUOQI
举一反三
- 下面代码的输出结果是( )。 a = "alex" b = a.capitalize() print(a,end=",") print(b)
- 下面代码的输出结果是()。 A: = "alex" B: = a.capitalize()print(a,end=",")print(b)A. alex,ALEX B. ALEX,alex C: alex,Alex D: Alex,Alex
- 下面哪一行代码的输出结果不是Python3.7() A: print(“Python3.7”) B: print(“Python”+3.7) C: print(“Python”+str(3.7)) D: print(“Python”+“3.7”)
- 以下程序的执行结果为 。a = "hahaha" b = a.capitalize() print (b)
- 哪个选项是下面代码的执行结果?() s='PYTHON' print("{0:3}".format()) A: PYTH B: PYT C: PYTHON D: PYTHON