PROBLEM SET
字符串运算
按知识点筛选题目,系统巩固该考点。
题目列表
共 9 题
A59168
以下函数的返回值是?( ) def pic(a:int,b:str)->str
2021年
--
--
A58981
输入一个整数6,输出的结果为?( )a = input('输入一个整数') b = a * 4 print(b)
2021年
--
--
A59622
运行如下程序 a1='hello' a2='everybody' print(a1*2+a2) 运行结果为hellohelloeverybody
2020年
--
--
A57445
执行以下运算后,text2的值是?( )text1 = "Good work" text2 = text1[-1]*3
2023年-选择题
--
--
A57955
'abc' - 'a' 的结果是 'bc'。( )
2023年-判断题
--
--
A57886
Python表达式 int("10"*2+"10")+101 的值为101111。( )
2023年-判断题
--
--
A60029
以下Python代码的输出结果是?( )for i in range(5)
2024年-选择题
--
--
A59791
请选择,下面Python代码运行之后的结果是?( )a = '2'
2024年-选择题
--
--
A60551
str1 = 'Python' + 'Python' + 'Python'
2025年
--
--