← 返回 stripe 的题目列表Verify Customer Information
类型:online_judge
You are developing a system to verify the information provided by new users. You are given a set of user information including name, ID number, and address, write a function to verify the validity of this information. Return True if the information is valid, otherwise return False.
Input
name: a string, the name of the user.
id_number: a string, the ID number of the user.
address: a string, the address of the user.
Output
A boolean indicating the validity of the information.
Example
Input: name = "John Doe", id_number = "123456789", address = "123 Main St"
Output: True
Constraints
The name is not empty, and it includes two to three words, each word should start with a capital letter.
The ID number is exactly 9 digits.
The address is not empty.
Example
Input
"John Doe", "123456789", "123 Main St"