ProgrammingProjectList
ProgrammingProjectList copied to clipboard
程序员练手小项目
`#!/usr/bin/env python #encoding=utf-8 print 'kill game by input end' while 1: s=input("input string:") if s== 'end': break; s1=''; index=0; l=len(s); print s[l-index-1]; while index
`package interesting; import java.util.HashMap; import java.util.Map; import java.util.Scanner; /** * * @author Administrator *统计元音字符出现的总数,还有每个元音字符出现的个数 */ public class CountChar { int count = 0; char[] ch = null; int[] countCh =...
### Java 使用 StringBuffer 实现。 ``` java import java.util.Scanner; public class Reverse { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("input your date:"); StringBuffer buf =...