Write the definition of a function printGrade, which takes one parameter containing a string value and returns nothing.

Write the definition of a function printGrade, which takes one parameter containing a string value and returns nothing.

LANGUAGE:  PYTHON

CHALLENGE:

Write the definition of a function printGrade, which takes one parameter containing a string value and returns nothing.
The function prints “Grade: ” followed by the string parameter.

SOLUTION:


def printGrade(grade):
print("Grade:",grade)

Add comment