使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 练习进度 0 / 0
随机练习 自定义设置练习量
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
lan_info = {'01': 'Python', '02': 'Java', '03': 'PHP'}
lan_info.update({'03': 'C++'})
print(lan_info)
运行程序,输出结果是( )。
}}
set_01 = {'a', 'c', 'b', 'a'}
set_01.add('d')
print(len(set_01))
运行程序,以下输出结果正确的是( )。
num_one = 12
def sum(num_two):
global num_one
num_one = 90
return num_one + num_two
print(sum(10))
运行代码,输出结果是( )。 }}
def many_param(num_one, num_two, *args):
print(args)
many_param(11, 22, 33, 44, 55)
运行代码,输出结果是( )。
def fact(num):
if num == 1:
return 1 else:
return num + fact(num - 1)print(fact(5))
class Test:
count = 21
def print_num(self):
count = 20
self.count+=20
print(count)test= Test()
test.print_num()
class Init:
def __init__(self, addr, tel):
self.__addr = addr
self.tel = tel
def show_info(self):
print(f"地址:{self.__addr}")
print(f"手机号:{self.tel}")
init = Init('北京', '12345')
init.show_info()