题解列表
8行:万花丛中过,片叶不沾身
摘要:````
li=[]
n=int(input())
l=list(map(int,input().split()))
for s in l:
if s%2==1:
……
2863: 删除单词后缀
摘要:解题思路:注意事项:参考代码:s = input()t = s[-3::1]if ('er' in t) or ('ly' in t): s = s[:-2:1]……
解 2861: 验证子串
摘要:解题思路:注意事项:参考代码:a = input().strip()b = input().strip()if a.find(b) != -1: print(f"{b} is substring……
2860: 字符串判等
摘要:解题思路:注意事项:参考代码:a = input().strip()b = input().strip()c = a.replace(" ", "")d = b.replace(" ", "")c =……
2859: 忽略大小写的字符串比较
摘要:解题思路:注意事项:参考代码:a = input().strip()b = input().strip()c = a.upper()d = b.upper()if c == d: print("……
有大佬解释一下为什么过不了所有点吗
摘要:```
n=int(input())
l=list(map(int,input().split()))
p=0
while l!=[]:
c=min(l)
p+=int(l……
解 2858: 整理药名
摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): s = input() s = s.lower() if s[0].isalpha……
2236: 蓝桥杯算法训练-大小写转换
摘要:解题思路:注意事项:参考代码:s = input()t = ""for i in s: if ord('a') <= ord(i) <= ord('z'): ……
2857: 加密的病历单
摘要:解题思路:注意事项:参考代码:s = input()t = ""for i in s: if ord('a') <= ord(i) <= ord('z'): ……