CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 182: 200-901: DevNet Associate (DEVASC)

Refer to the exhibit. A REST API returns this JSON output for a GET HTTP request, which has been assigned to a variable called `vegetables`. Using Python, which output is the result of this command? print(filter(lambda 1: 1['type'] == 'fruit', vegetables) [0]['items'][0]['items'][0])

Nội dung câu hỏi

Refer to the exhibit. A REST API returns this JSON output for a GET HTTP request, which has been assigned to a variable called `vegetables`. Using Python, which output is the result of this command? print(filter(lambda 1: 1['type'] == 'fruit', vegetables) [0]['items'][0]['items'][0])

Minh họa câu hỏi

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. {'color': 'green', 'items': ['kiwi', 'grape']}
  2. B. ['kiwi', 'grape']
  3. C. lettuce
  4. D. kiwi — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề