Commit 8d7a5489 by BellCodeEditor

auto save

parent b131ab60
Showing with 6 additions and 0 deletions
......@@ -195,6 +195,8 @@ if f:
'''
12#此次编程大赛中,获得一等奖的同学有:小张、小王、小强、小李、小周、小芳、小兰,编程实现输入某个名字进行查找,是否在一等奖的名单里
'''
'''
one_grade = ["小张","小王","小强","小李","小周","小芳","小兰"]
name = input("请输入姓名:")
if name in one_grade:
......@@ -229,6 +231,8 @@ else:
'''
#猜数游戏 :小明的实际年龄是11岁,让用户来猜,会提示猜的年龄大了还是小了,
'''
'''
age = int(input("请输入年龄:"))
while True:
if age == 11:
......@@ -244,6 +248,8 @@ print("猜对了!")
'''
#任意说一段字符串,找出重复次数最多的字符,并统计这个字符出现的次数。
'''
'''
n = input("请输入一段字符串:")
x = 1
for i in range(0,len(n)):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment