Generate Email

Asked at Roblox · Coding Questions · Difficulty: Easy

Given a user's name and a domain, generate a normalized email address. The user's name may include spaces and other symbols which need to be handled. For example, if the user's name is 'John Doe' and the domain is 'example.com', the generated email should be 'john.doe@example.com'. Ensure the output is in lowercase format.

Loading the problem…