exam questions

Exam 98-381 All Questions

View all questions & answers for the 98-381 exam

Exam 98-381 topic 1 question 18 discussion

Actual exam question from Microsoft's 98-381
Question #: 18
Topic #: 1
[All 98-381 Questions]

HOTSPOT -
You are developing a Python application for your company.
You write the following code:

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code segment.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References: https://www.w3resource.com/python/python-list.php

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gargaditya
Highly Voted 4 years, 6 months ago
answer is correct addnl reference:https://dbader.org/blog/difference-between-is-and-equals-in-python
upvoted 5 times
...
SP_RSA
Most Recent 2 years, 6 months ago
x = ['a'] y = x x and y are pointing to the same object ['a','b'], therefore makes them equal and identical
upvoted 1 times
...
PavanKumpatlaAccountTwo
3 years, 3 months ago
Answers are correct here too. Identity and Equality Check.
upvoted 2 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago