如圖所示的英文表達可以有以下幾種:
1. As shown in the picture.
2. As per the diagram.
3. As displayed in the image.
4. As indicated in the accompanying illustration.
至于有那些,這個表達在英文中通常用于詢問或列舉某個物品或事件的相關(guān)信息。例如:“有哪些顏色可選?”、“有哪些人參加了會議?”等等。如果是在描述圖片或圖表中的內(nèi)容,那么通常會使用“what can be seen in the picture/diagram/image”這樣的表達方式。
如圖所示,用英文可以表達為:As shown in the figure.
```python
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
filtered_numbers = filter(lambda x: x != 5 and x != 7, numbers)
print(list(filtered_numbers))
```
輸出結(jié)果為:`[1, 2, 3, 4, 6, 8, 9, 10]`,即過濾掉了數(shù)字5和7。
注意,這里使用了Python中的filter函數(shù)和lambda表達式來實現(xiàn)過濾操作。filter函數(shù)接受一個過濾器函數(shù)和一個可迭代對象作為參數(shù),返回一個迭代器,其中包含通過過濾器函數(shù)篩選出來的元素。在這個例子中,我們使用了lambda表達式來定義一個過濾器函數(shù),該函數(shù)接受一個數(shù)字并返回一個布爾值,表示該數(shù)字是否需要被過濾掉。