import java.util.Scanner;
/**
* Author: 明明就会被淘汰
* Date: 2022/1/22 上午1:30
* Title: 字符串遍历
*/
public class 你来起类名 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
for (int i = 0; i < s.length(); i++) {
System.out.println(s.charAt(i));
}
}
}
版权属于:
肚子饿了才有力气吃饭
作品采用:
《
署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)
》许可协议授权
评论 (0)