I do understand why everyone agrees that A is the correct answer afterall there is a loop in the code, however i am unsure if its A. I actualy think it could be D based on the description available in Realpython
https://realpython.com/python-for-loop/
It clearly says that:
<iterable> is a collection of objects—for example, a list or tuple. The <statement(s)> in the loop body are denoted by indentation, as with all Python control structures, and are executed once for each item in <iterable>. The loop variable <var> takes on the value of the next element in <iterable> each time through the loop.
Therefore data['response'] is an iterable, hence the code iterates over an iterable. Correct answer D.
it's the typical cisco trap. the keyword here is the "returned" list. D is speaking of "a" list, A is about the returned list, which is required in this case.
I am wondering why the answer is B, there is no mention to any count variable here. So I am with DavMan and tcpip that the answer is deffinitely A. Please correct it
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DavMan
Highly Voted 2 years, 10 months agozgcorpuz
Highly Voted 2 years, 2 months agomacxsz
Most Recent 10 months, 1 week agoGngogh
1 year, 10 months agoValsteve
1 year, 9 months agoWesgo
1 year, 7 months agokirankkotla
2 years, 1 month agoalahnomi
2 years, 2 months ago[Removed]
2 years, 3 months agouerdemk
2 years, 4 months agomoslig
2 years, 4 months agoTroyMcLure
2 years, 4 months agobpbenabd
2 years, 5 months agoNitinPathak
2 years, 7 months agoananbini0035
2 years, 10 months agoFireTv
2 years, 10 months agoReadTheDoc
2 years, 10 months agoAlan2036
2 years, 10 months agotcpip
2 years, 10 months ago