摘要:
输入一个字符串,统计其中数字字符及小写字符的个数 输入格式: 输入一行字符串 输出格式: 共有?个数字,?个小写字符 输入样例: helo134ss12 输出样例: 共有5个数字,6个小写字符 代码: A = input() word = 0 num = 0 for i in A: if i.isl 阅读全文
摘要:
你的程序会读入一个名字,比如John,然后输出“Hello John”。 输入格式: 一行文字。 输出格式: 一行文字。 输入样例: Mary Johnson 输出样例: Hello Mary Johnson 代码: name = input() print("Hello "+name) 阅读全文