摘要:
1 def check_code(): 2 import random 3 checkcode = '' 4 for i in range(4): 5 current = random.randrange(0, 4) 6 if current != i: 7 temp = chr(random.ra 阅读全文
摘要:
写代码,有如下变量,请按照要求实现每个功能 name = " aleX" a. 移除name变量对应的值两边的空格,并输入移除后的内容 b. 判断name变量对应的值是否以 "al" 开头,并输出结果 c. 判断name变量对应的值是否以 "X" 结尾,并输出结果 d. 将name变量对应的值中的 阅读全文