【多选题】在Python中添加注释可以使用哪些符号?
【简答题】给定一个包含若干个整数的列表alist,要求返回输出列表blist,blist中的元素为 与alist对应位置上的元素之外其余各元素的乘积。 输入格式: 共一行,列表中的元素以空格隔开。 输出格式: 共一行,为一个列表。 输入样例: 1 2 3 输出样例: [6, 3, 2] (注:原列表的1,对应输出6=2*3,原列表的2,对应输出3=1*3, 原列表的3,对应输出2=1*2)
【填空题】使用构造方法创建空列表的方式是 alist =
【单选题】s = "4", s的数据类型是?
【填空题】alist = list(range(2, 11, 2)) alist[0]的值是
【判断题】列表中的元素,数据类型必须一致,因此列表也称之为数组。
【填空题】alist = list(range(2, 11, 2)) alist[2:4]的值是
【简答题】Key to the translation of Unit One (2) 1. Before I came to/entered college, I had never thought life at college would be so rich and interesting. 2. Most of the Chinese college students born in the 1990s are the only child of their families. 3. All those who know him admire him for his work. 4. I missed the class because I didn ’ t know it had moved up to Thursday. 5. In some countries, those who are overweight will be punished one way or another. 6. Soon after the fire, those who had lost their homes were taken to a place of safety. 7. When we met again, we found we both had changed a lot. 8. A team of experts headed by Professor Li will soon come and help farmers solve their problems. 9. The field planted with tomatoes used to be wasteland. 10. Our teacher told us to read books written by such m