← 返回 roblox 的题目列表Generate Email
类型:online_judge
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.
Input: Two strings, user name and domain.
Output: A string, the generated email address.
Example:
Input: 'John Doe', 'example.com'
Output: 'john.doe@example.com'
Example
Input
John Doe
example.com