Exam 200-901 Question id=6242 Software Development and Design

In Python, which expression checks whether the script returns a success status code when the Requests library is used?

A. response.status_code == requests.codes.ok
B. response.code == requests.codes.ok
C. response.status_code == requests.ok
D. response.status_code != requests.codes.ok

WARNING

the answers are mixed, do not specify in the comment number or the letter of the answer
please write answer#A instead A, answer#B instead B...
Subject:

only logged users can write comments