May 2026 Primers
Accenture Mock 2026mediumMay 2026 PrimersCommand Line

Which command allows you to check whether Python is installed from the command prompt?

Answer options

A
python --version
B
python install
C
python setup
D
py run

Correct answer: python --version

Explanation

python --version displays the installed Python version if Python is available in the command path.

Related Accenture May 2026 Primers questions

Practice more Accenture May 2026 Primers questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.