Skip to content
free
K
1
2
practice
Home
Math
English
Science
Social Studies
Contact
Language
English
Español
Sign In
/
High School Electives
/
Computer Science
/
Syntax and Semantics
Grade Level
Computer Science
HSCS.107 Syntax and Semantics
0%
Skill Level
🔴 Hard
00:00
Progress to Next Level
25% to Medium
Easy
Medium
Hard
Mastery
100%
A dataset should hide email addresses before display while keeping each record's id unchanged. Which fragment is syntactically valid and has that intended meaning? `[NL]` marks a new line; `[I1]` and `[I2]` mark one and two indentation levels.
A
for record in records: [NL] [I1] record["id"] = "hidden"
B
for record in records [NL] [I1] record["email"] == "hidden"
C
for record in records: [NL] [I1] "hidden" = record["email"]
D
for record in records: [NL] [I1] record["email"] = "hidden"
Submit Answer