(PCEP) Certified Entry-Level Python Programmer Practice Test
(PCEP) Certified Entry-Level Python Programmer PCEP Control Flow and Functions
Which of the following is the correct syntax for an "if" statement in Python?
Select your answer
A
if condition { statement }
B
if condition: statement
C
if (condition) then statement
D
if condition: { statement }
Need a hint?
(H)