def get_order(menu:list) -> list:
return [int(input(f'Enter order for {i[0]}:')) for i in menu]
sample = [('apple', 1.50),('orange',2.90)]
check = get_order(sample)
print(check)
郝ren的博客【填空题】已知列表 x =...答案【填空题】假设列表对象aList的值为[3, 4, 5, 6, 7, 9, 11, 13, 15, 17],那么切片aList[3:7]得到的值是____。答案:[6, 7, 9, 11]【单选题】哪个选项是下面代码的执行结果? for s in "P...