← Quiz: Agentic Coding Tools: all 10 questions
Quiz: Agentic Coding Tools · Question 9 of 10
What does this print? (code)
What does this print?
RISKY = ("package.json", ".env", "deploy/")
changed = ["src/app/page.tsx", "package.json", "deploy/deploy.sh", "README.md"]
print(sum(any(r in f for r in RISKY) for f in changed))
- A.1
- B.2
- C.3
- D.4
Answer & explanation
Correct answer: 2
package.json and deploy/deploy.sh match the risky patterns.
Can you get the rest right without peeking?
Take the timed Quiz: Agentic Coding Tools quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →