(CodeHS) Code High School Certifications Practice Test
CodeHS Programming Language Accreditations
Which of the following is the correct syntax for defining a function in Python?
Select your answer
A
function myFunction() { }
B
def myFunction():
C
create myFunction() {}
D
function: myFunction() { }
Hint