CompTIA A+ Core 2 (220-1102) — Question 181

Which of the following script types is used with the Python language by default?

Answer options

Correct answer: D

Explanation

The correct answer is D, .py, which is the standard file extension for Python scripts. Options A, B, and C are associated with different scripting languages; .ps1 is for PowerShell scripts, .vbs is for Visual Basic scripts, and .bat is for batch files used in Windows.