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

编程题:find the last character

Luz4年前 (2022-10-10)题库339
Input a string and output the last character of the string.

### Input Specification:

Input a string.

### Output Specification:

Print the last character of the string.

### Sample Input #1:

in
1234567


### Sample Output #1:

out
7


### Sample Input #2:

in
Hello World


### Sample Output #2:

out
d









答案:若无答案欢迎评论