dictionaries quiz
Graded Quiz • 30 min Quiz2 Questions Week 3
Re⥃askly Logo

dictionaries quiz

Graded Quiz • 30 min Quiz2 Questions Week 3
Practice More Quizzes:
Quiz
5 Questions Week 1
Quiz
2 Questions Week 1
Quiz
4 Questions Week 1
Quiz
2 Questions Week 2
Quiz
2 Questions Week 2
Quiz
10 Questions Week 2
Quiz
2 Questions Week 3
Quiz
2 Questions Week 3
Quiz
2 Questions Week 3

Q:

ptMtx = {(0,0):[‘firstX’, ‘firstY’],(1,1):[‘secondX’, ‘secondY’]} What value does ptMtx[1,1] return?

Q:

ptMtx = {} for i in range(15): for j in range(15): x = i * 10 y = j * 10 z = 0 ptMtx[i,j] = (x,y,z) for id in ptMtx: rs.AddPoint(ptMtx[id]) What does each of the key and value pairs in the above dictionary ptMtx represent?

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Find Questions in This Page: "CTRL+F"