Which Programs Crash?

Python FundamentalsMedium+10 XP+10

Which Programs Crash?

Here are four tiny programs.

Program A

Program B

Program C

Program D

Which of them stop with a NameError?

Select all that apply.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.