更多"[单选题]下面代码的输出结果是S1='Thepythonlanguag"的相关试题:
[单选题]下面代码的输出结果是
S1="ThepythonlanguageisA、scriptinglanguage."
S1.replace('scripting','general')
Print(s1)
A.ThepythonlanguageisA、scriptinglanguage.
B.系统报错
C.['The','python','language','is','a','scripting','language.']
D.ThepythonlanguageisA、generallanguage.
[单选题]下面代码的输出结果是
A.mir
B.mirror
C.mi
D.mirror
[单选题]下面代码的输出结果是()
S="Thepythonlanguageisacrossplatformlanguage."
Print(s.find('language',30))
A.11
B.40
C.10
D.系统报错
[单选题]下面代码的输出结果是
S="ThepythonlanguageisA、multimodellanguage."
Print(s.split(''))
A.Thepythonlanguageisamultimodellanguage.
B.['The','python','language','is','a','multimodel','language.']
C.ThepythonlanguageisA、multimodellanguage.
D.系统报错
[单选题]下面代码的输出结果是()
L=[1,2,3,4,5]
S1=','.join(str(n)forninL)
Print(s1)
A.[1,2,3,4,5]
B.1,,2,,3,,4,,5
C.[1,,2,,3,,4,,5]
D.1,2,3,4,5
[单选题]下面代码的输出结果是
Str1="mysqlsqlserverPostgresQL"
Str2="sql"
Ncount=str1.count(str2,10)
Print(ncount)
A.0
B.3
C.4
D.2
[单选题]下面代码的输出结果是
X=0o1010
Print(x)
A.10
B.1024
C.520
D.2768
[单选题]下面代码的输出结果是:print(pow(2,10))
A.100
B.12
C.1024
D.20
[单选题]下面代码的输出结果是()
Aa="helloworld"
Aa.title()
A.Helloworld
B.HelloWorld
C.’HelloWorld’
D.”HelloWorld”
[单选题]下面代码的输出结果是()
X=0x1010
Print(x)
A.4112
B.520
C.10
D.1024
[单选题]下面代码的输出结果是()
X=0b1010
Print(x)
A.16
B.256
C.1024
D.10
[单选题]下面代码的输出结果是
X=12.34
Print(type(x))
A.
B.
C.
D.
[单选题]下面代码的输出结果是:>>>True/False
A.True
B.-1
C.0
D.系统报错