题目内容
(请给出正确答案)
提问人:网友qq1987
发布时间:2022-01-07
[主观题]
下列程序的运行结果是() s = ’ das1 32 a2da’ def lei(l): num = 0 isah = 0 kong = 0 other = 0
下列程序的运行结果是() s = ’ das1 32 a2da’ def lei(l): num = 0 isah = 0 kong = 0 other = 0 for i in l : if i.isdigit(): num +=1 elif i.isalpha(): isah +=1 elif i.isspace(): kong +=1 else: other +=1 return num,isah,kong,other print(lei(s))
简答题官方参考答案
(由简答题聘请的专业题库老师提供的解答)
抱歉!暂无答案,正在努力更新中……