Guidelines

Coding Quiz - Output Formatting

The provided solution function takes name and message as parameters.

This function combines the given name and message into a string and returns it.

The output format is {message}, {name}. For example, if you pass "CodeBuddy" as the name and "Nice to meet you" as the message to the function, it should return "Nice to meet you, CodeBuddy".

Parameter Format
def solution(name, message): return # Write your code here

Constraints

  • The name parameter is a string.

  • The message parameter is a string.


Example Input and Output

  • Input: name = "Alex", message = "Nice to meet you"
  • Output: "Nice to meet you, Alex"
Mission
0 / 1

The function solution correctly combines the given name and greeting into the proper format.

O
X

Guidelines

AI Tutor

Publish

Design

Upload

Notes

Favorites

Help