-->
当前位置:首页 > 题库

编程题:tell you a few well-known Chinese sayings

Luz4年前 (2022-10-17)题库219
Input a Chinese name and respond as required.

### Input Specification:

Enter a Chinese name with at least 2 Chinese characters, such as 孙悟空.

### Output Specification:
First line:孙悟空同学,人生苦短,我学python
Second line:孙大侠,学好python,走遍天下也不怕
The third line:悟空小朋友,学好python,你最帅

The first line of output contains the entire name. The second line contains the family name, which is the first word in the name. The third line of output contains the rest of the name except the family name

### Sample Input #1:
in
猪八戒

### Sample Output #1:

out
猪八戒同学,人生苦短,我学python
猪大侠,学好python,走遍天下也不怕
八戒小朋友,学好python,你最帅

### Sample Input #2:
in
岳飞

### Sample Output #3:

out
岳飞同学,人生苦短,我学python
岳大侠,学好python,走遍天下也不怕
飞小朋友,学好python,你最帅










答案:若无答案欢迎评论